Off-by-one Error Affecting kyz/libmspack package, versions [0,0.7alpha)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.85% (83rd 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-2365071
  • published26 Jan 2022
  • disclosed28 Jul 2018
  • creditUnknown

Introduced: 28 Jul 2018

CVE-2018-14682  (opens in a new tab)
CWE-193  (opens in a new tab)

How to fix?

Upgrade kyz/libmspack to version 0.7alpha or higher.

Overview

Affected versions of this package are vulnerable to Off-by-one Error. An issue was discovered in mspack/chmd.c in libmspack before 0.7alpha. There is an off-by-one error in the TOLOWER() macro for CHM decompression.

References

CVSS Scores

version 3.1