XML External Entity (XXE) Injection Affecting expat-static package, versions *


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
19.43% (98th 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-RHEL7-EXPATSTATIC-1325799
  • published26 Jul 2021
  • disclosed19 Feb 2013

Introduced: 19 Feb 2013

CVE-2013-0340  (opens in a new tab)
CWE-611  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:7 expat-static.

NVD Description

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

expat before version 2.4.0 does not properly handle entities expansion unless an application developer uses the XML_SetEntityDeclHandler 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 expat 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 Base Scores

version 3.1