Out-of-bounds Write Affecting kyz/libmspack package, versions [,0.8)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
27.54% (97th 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-UNMANAGED-KYZLIBMSPACK-2365069
  • published26 Jan 2022
  • disclosed23 Oct 2018
  • creditUnknown

Introduced: 23 Oct 2018

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

How to fix?

Upgrade kyz/libmspack to version 0.8 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write. 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