Directory Traversal Affecting libmspack package, versions <0.8-1


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
0.13% (50th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Directory Traversal vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIANUNSTABLE-LIBMSPACK-324855
  • published28 Oct 2018
  • disclosed23 Oct 2018

Introduced: 23 Oct 2018

CVE-2018-18586  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade Debian:unstable libmspack to version 0.8-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libmspack package and not the libmspack package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

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