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


Severity

Recommended
low

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.72% (81st 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-1668760
  • published27 Sept 2021
  • disclosed28 Jul 2018

Introduced: 28 Jul 2018

CVE-2018-14681  (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.6.alpha.amzn2.0.1 or higher.
This issue was patched in ALAS2-2019-1152.

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.

An issue was discovered in kwajd_read_headers in mspack/kwajd.c in libmspack before 0.7alpha. Bad KWAJ file header extensions could cause a one or two byte overwrite.