Access Restriction Bypass Affecting libxml2 package, versions [,2.9.2)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
1.47% (87th 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-3004066
  • published26 Jan 2022
  • disclosed21 Jan 2014
  • creditUnknown

Introduced: 21 Jan 2014

CVE-2013-0339  (opens in a new tab)
CWE-264  (opens in a new tab)

How to fix?

Upgrade libxml2 to version 2.9.2 or higher.

Overview

Affected versions of this package are vulnerable to Access Restriction Bypass libxml2 through 2.9.1 does not properly handle external entities expansion unless an application developer uses the xmlSAX2ResolveEntity or xmlSetExternalEntityLoader function, which allows remote attackers to cause a denial of service (resource consumption), send HTTP requests to intranet servers, or read arbitrary files via a crafted XML document, aka an XML External Entity (XXE) issue. NOTE: it could be argued that because libxml2 already provides the ability to disable external entity expansion, the responsibility for resolving this issue lies with application developers; according to this argument, this entry should be REJECTed and each affected application would need its own CVE.

References

CVSS Scores

version 3.1