Out-of-bounds Write Affecting libmspack-devel package, versions <0:0.5-0.7.alpha.amzn2


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
3.85% (92nd 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-LIBMSPACKDEVEL-1674468
  • published27 Sept 2021
  • disclosed23 Oct 2018

Introduced: 23 Oct 2018

CVE-2018-18584  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 libmspack-devel 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-devel package and not the libmspack-devel package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

In mspack/cab.h in libmspack before 0.8alpha and cabextract before 1.8, the CAB block input buffer is one byte too small for the maximal Quantum block, leading to an out-of-bounds write.

CVSS Scores

version 3.1