Resource Management Errors Affecting libxml2 package, versions [,2.9.3)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.7% (81st 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-LIBXML2-3004085
  • published26 Jan 2022
  • disclosed15 Dec 2015
  • creditUnknown

Introduced: 15 Dec 2015

CVE-2015-5312  (opens in a new tab)
CWE-399  (opens in a new tab)

How to fix?

Upgrade libxml2 to version 2.9.3 or higher.

Overview

Affected versions of this package are vulnerable to Resource Management Errors. The xmlStringLenDecodeEntities function in parser.c in libxml2 before 2.9.3 does not properly prevent entity expansion, which allows context-dependent attackers to cause a denial of service (CPU consumption) via crafted XML data, a different vulnerability than CVE-2014-3660.

References

CVSS Scores

version 3.1