Resource Management Errors Affecting libexpat/libexpat package, versions [,2.1.0)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
0.63% (80th 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-LIBEXPATLIBEXPAT-2369629
  • published26 Jan 2022
  • disclosed3 Jul 2012
  • creditUnknown

Introduced: 3 Jul 2012

CVE-2012-0876  (opens in a new tab)
CWE-399  (opens in a new tab)

How to fix?

Upgrade libexpat/libexpat to version 2.1.0 or higher.

Overview

Affected versions of this package are vulnerable to Resource Management Errors. The XML parser (xmlparse.c) in expat before 2.1.0 computes hash values without restricting the ability to trigger hash collisions predictably, which allows context-dependent attackers to cause a denial of service (CPU consumption) via an XML file with many identifiers with the same value.

References

CVSS Scores

version 3.1