NULL Pointer Dereference Affecting libmspack package, versions <0.8_alpha-r0


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
3.09% (87th 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 IDSNYK-ALPINE37-LIBMSPACK-324842
  • published28 Oct 2018
  • disclosed23 Oct 2018

Introduced: 23 Oct 2018

CVE-2018-18585  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade Alpine:3.7 libmspack to version 0.8_alpha-r0 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 Alpine. See How to fix? for Alpine:3.7 relevant fixed versions and status.

chmd_read_headers in mspack/chmd.c in libmspack before 0.8alpha accepts a filename that has '\0' as its first or second character (such as the "/\0" name).

CVSS Base Scores

version 3.1