Off-by-one Error Affecting libmspack-devel package, versions <0:0.5-0.6.alpha.el7


Severity

Recommended
low

Based on CentOS security rating.

Threat Intelligence

EPSS
0.88% (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-CENTOS7-LIBMSPACKDEVEL-2130219
  • published26 Jul 2021
  • disclosed12 May 2018

Introduced: 12 May 2018

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

How to fix?

Upgrade Centos:7 libmspack-devel to version 0:0.5-0.6.alpha.el7 or higher.

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 Centos. See How to fix? for Centos:7 relevant fixed versions and status.

An issue was discovered in mspack/chmd.c in libmspack before 0.7alpha. There is an off-by-one error in the CHM PMGI/PMGL chunk number validity checks, which could lead to denial of service (uninitialized data dereference and application crash).