NULL Pointer Dereference Affecting libmspack package, versions <0:0.5-0.7.alpha.el7


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.18% (56th 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 Learn

Learn about NULL Pointer Dereference vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL7-LIBMSPACK-1511257
  • published26 Jul 2021
  • disclosed17 Oct 2018

Introduced: 17 Oct 2018

CVE-2018-18585  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade RHEL:7 libmspack to version 0:0.5-0.7.alpha.el7 or higher.
This issue was patched in RHSA-2019:2049.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libmspack package and not the libmspack package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

chmd_read_headers in mspack/chmd.c in libmspack before 0.8alpha accepts a filename that has '\0' as its first or second character (such as the "/\0" name).

CVSS Scores

version 3.1