CVE-2018-18586
published 2018-10-23CVE-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…
PriorityP430medium5.3CVSS 3.0
AVNACLPRNUINSUCLINAN
EPSS
3.28%
87.2th percentile
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
Affected
10 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | libmspack | < libmspack 0.8-1 (bookworm) | libmspack 0.8-1 (bookworm) |
| kyzer | libmspack | — | — |
| kyzer | libmspack | — | — |
| kyzer | libmspack | — | — |
| kyzer | libmspack | — | — |
| kyzer | libmspack | — | — |
| libmspack_project | libmspack | >= 0 < 0.8-1 | 0.8-1 |
| libmspack_project | libmspack | >= 0 < 0.8-1 | 0.8-1 |
| libmspack_project | libmspack | >= 0 < 0.8-1 | 0.8-1 |
| libmspack_project | libmspack | >= 0 < 0.8-1 | 0.8-1 |
CVSS provenance
nvdv3.05.3MEDIUMCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:P/I:N/A:N
osv5.3MEDIUM
vendor_debian5.3LOW
vendor_redhat5.3MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
libmspack: Directory traversal in chmextract.c
vendor_redhat·2018-10-17·CVSS 5.3
CVE-2018-18586 [MEDIUM] CWE-22 libmspack: Directory traversal in chmextract.c
libmspack: Directory traversal in chmextract.c
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
Statement: This issue did not affect the versions of libmspack as shipped with Red Hat Enterprise Linux 7.
Package: libmspack (Red Hat Enterprise Linux 7) - Not affected
Package: libmspack (Red Hat Enterprise Linux 8) - Not affected
Debian
CVE-2018-18586: libmspack - chmextract.c in the chmextract sample program, as distributed with libmspack bef...
vendor_debian·2018·CVSS 5.3
CVE-2018-18586 [MEDIUM] CVE-2018-18586: libmspack - chmextract.c in the chmextract sample program, as distributed with libmspack bef...
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
Scope: local
bookworm: resolved (fixed in 0.8-1)
bullseye: resolved (fixed in 0.8-1)
forky: resolved (fixed in 0.8-1)
sid: resolved (fixed in 0.8-1)
trixie: resolved (fixed in 0.8-1)
GHSA
GHSA-jcvf-2rhc-m6h8: ** DISPUTED ** chmextract
ghsa_unreviewed·2022-05-14
CVE-2018-18586 [MEDIUM] CWE-22 GHSA-jcvf-2rhc-m6h8: ** DISPUTED ** chmextract
** DISPUTED ** 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.
OSV
CVE-2018-18586: chmextract
osv·2018-10-23·CVSS 5.3
CVE-2018-18586 [MEDIUM] CVE-2018-18586: chmextract
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
No detection rules found.
No public exploits indexed.
https://bugs.debian.org/911639https://github.com/kyz/libmspack/commit/7cadd489698be117c47efcadd742651594429e6dhttps://security.gentoo.org/glsa/201903-20https://www.openwall.com/lists/oss-security/2018/10/22/1https://bugs.debian.org/911639https://github.com/kyz/libmspack/commit/7cadd489698be117c47efcadd742651594429e6dhttps://security.gentoo.org/glsa/201903-20https://www.openwall.com/lists/oss-security/2018/10/22/1
2018-10-23
Published