NULL Pointer Dereference Affecting libmspack-debuginfo package, versions <0:0.5-0.7.alpha.amzn2


Severity

Recommended
medium

Based on Amazon Linux security rating.

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-AMZN2-LIBMSPACKDEBUGINFO-1674453
  • published27 Sept 2021
  • 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 Amazon-Linux:2 libmspack-debuginfo to version 0:0.5-0.7.alpha.amzn2 or higher.
This issue was patched in ALAS2-2019-1310.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libmspack-debuginfo package and not the libmspack-debuginfo package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 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