Vulnerability Details : CVE-2018-18586
chmextract.c in the chmextract sample program, as distributed with libmspack before 0.8alpha, does not protect against absolute/relative pathnames in CHM files, leading to Directory Traversal. NOTE: the vendor disputes that this is a libmspack vulnerability, because chmextract.c was only intended as a source-code example, not a supported application
Vulnerability category: Directory traversal
Products affected by CVE-2018-18586
- cpe:2.3:a:kyzer:libmspack:0.3:alpha:*:*:*:*:*:*
- cpe:2.3:a:kyzer:libmspack:0.7:alpha:*:*:*:*:*:*
- cpe:2.3:a:kyzer:libmspack:0.6:alpha:*:*:*:*:*:*
- cpe:2.3:a:kyzer:libmspack:0.5:alpha:*:*:*:*:*:*
- cpe:2.3:a:kyzer:libmspack:0.4:alpha:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2018-18586
0.13%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 49 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2018-18586
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.0
|
MEDIUM | AV:N/AC:L/Au:N/C:P/I:N/A:N |
10.0
|
2.9
|
NIST | |
5.3
|
MEDIUM | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
3.9
|
1.4
|
NIST |
CWE ids for CVE-2018-18586
-
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.Assigned by: nvd@nist.gov (Primary)
References for CVE-2018-18586
-
https://security.gentoo.org/glsa/201903-20
cabextract, libmspack: Multiple vulnerabilities (GLSA 201903-20) — Gentoo securityThird Party Advisory
-
https://github.com/kyz/libmspack/commit/7cadd489698be117c47efcadd742651594429e6d
add anti "../" and leading slash protection to chmextract · kyz/libmspack@7cadd48 · GitHubExploit;Vendor Advisory
-
https://bugs.debian.org/911639
#911639 - libmspack: CVE-2018-18586: add anti "../" and leading slash protection to chmextract - Debian Bug report logsMailing List;Third Party Advisory
-
https://www.openwall.com/lists/oss-security/2018/10/22/1
oss-security - Buffer overflow in cabextract/libmspack (Fwd: New cabextract 1.8 and libmspack 0.8 release)Mailing List;Third Party Advisory
Jump to