NULL Pointer Dereference 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
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-UNMANAGED-KYZLIBMSPACK-2365324
  • published26 Jan 2022
  • disclosed23 Oct 2018
  • creditUnknown

Introduced: 23 Oct 2018

CVE-2018-18585  (opens in a new tab)
CWE-476  (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 NULL Pointer Dereference 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).

References

CVSS Scores

version 3.1