CVEfocus › CVE database › CVE-2018-20167

CVE-2018-20167

CVSS 7.8 HighEPSS 2.7% (higher than 86% of CVEs)Published 2018-12-17Updated 2024-08-05Assigner: mitre

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

3Fixed
3Fix pending
1Under investigation
3Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04terminologyNot affected
vulnerable_code_not_present
Ubuntu 25.10terminologyNot affected
vulnerable_code_not_present
Ubuntu 24.04terminologyNot affected
vulnerable_code_not_present
Ubuntu 22.04terminologyUnder investigationUBUNTU-CVE-2018-20167
Ubuntu 20.04terminologyFix pendingUBUNTU-CVE-2018-20167
Ubuntu 18.04terminologyFix pendingUBUNTU-CVE-2018-20167
Ubuntu 16.04terminologyFix pendingUBUNTU-CVE-2018-20167
Debian 14terminologyFixed1.3.1-1DEBIAN-CVE-2018-20167
Debian 13terminologyFixed1.3.1-1DEBIAN-CVE-2018-20167
Debian 12terminologyFixed1.3.1-1DEBIAN-CVE-2018-20167

References

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.