CVE-2018-20167

Source
https://nvd.nist.gov/vuln/detail/CVE-2018-20167
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-20167.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-20167
Related
Published
2018-12-17T05:29:00Z
Modified
2025-01-14T07:27:50.594745Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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 handleunknownmedia() 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.

References

Affected packages

Debian:11 / terminology

Package

Name
terminology
Purl
pkg:deb/debian/terminology?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.3.1-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / terminology

Package

Name
terminology
Purl
pkg:deb/debian/terminology?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.3.1-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / terminology

Package

Name
terminology
Purl
pkg:deb/debian/terminology?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.3.1-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/billiob/terminology

Affected ranges

Type
GIT
Repo
https://github.com/billiob/terminology
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v0.*

v0.1.0
v0.2.0
v0.3.0
v0.4.0
v0.4.0-alpha1
v0.4.0-alpha3
v0.4.0-alpha4
v0.5.0
v0.5.1
v0.6.0
v0.6.1
v0.7.0
v0.8.0
v0.9.0
v0.9.1

v1.*

v1.0.0
v1.1.0
v1.1.1
v1.2.0
v1.2.1
v1.3.0