CVE-2018-18586

NameCVE-2018-18586
Description** 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
Debian Bugs911639

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libmspack (PTS)jessie0.5-1+deb8u1vulnerable
jessie (security)0.5-1+deb8u3vulnerable
stretch0.5-1+deb9u3vulnerable
stretch (security)0.5-1+deb9u2vulnerable
buster0.8-1fixed
sid0.9.1-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libmspacksource(unstable)0.8-1unimportant911639

Notes

https://github.com/kyz/libmspack/commit/7cadd489698be117c47efcadd742651594429e6d
https://www.openwall.com/lists/oss-security/2018/10/22/1
src/chmextract.c was renamed from originally test/chmx.c
This sample code is not installed into the binary packages and was as well
never the idea to use it in "productised" binaries, but rather just simple
examples of the library use.

Search for package or bug name: Reporting problems