CVE-2018-20167
Terminology before 1.3.1 allows Remote Code Execution because popmedia is mishandled, as demonstrated by an unsafe "cat README.md" command when \e}pn is used. A popmedia control sequence can allow the malicious execution of executable file formats registered in the X desktop share MIME types (/usr/share/applications). The control sequence defers unknown file types to the handle_unknown_media() function, which executes xdg-open against the filename specified in the sequence. The use of xdg-open for all unknown file types allows executable file formats with a registered shared MIME type to be executed. An attacker can achieve remote code execution by introducing an executable file and a plain text file containing the control sequence through a fake software project (e.g., in Git or a tarball). When the control sequence is rendered (such as with cat), the executable file will be run.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | terminology | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | terminology | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | terminology | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | terminology | Under investigation | UBUNTU-CVE-2018-20167 | |
| Ubuntu 20.04 | terminology | Fix pending | UBUNTU-CVE-2018-20167 | |
| Ubuntu 18.04 | terminology | Fix pending | UBUNTU-CVE-2018-20167 | |
| Ubuntu 16.04 | terminology | Fix pending | UBUNTU-CVE-2018-20167 | |
| Debian 14 | terminology | Fixed | 1.3.1-1 | DEBIAN-CVE-2018-20167 |
| Debian 13 | terminology | Fixed | 1.3.1-1 | DEBIAN-CVE-2018-20167 |
| Debian 12 | terminology | Fixed | 1.3.1-1 | DEBIAN-CVE-2018-20167 |
References
- https://www.enlightenment.org/news/2018-12-16-terminology-1.3.1
- https://phab.enlightenment.org/T7504
- https://phab.enlightenment.org/rTRM1ac204da9148e7bccb1b5f34b523e2094dfc39e2
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.