Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion') Affecting libxml2 package, versions <0:2.9.1-6.amzn2.5.3


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.08% (37th 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-AMZN2-LIBXML2-1700337
  • published27 Sept 2021
  • disclosed9 Jul 2021

Introduced: 9 Jul 2021

CVE-2021-3541  (opens in a new tab)
CWE-776  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 libxml2 to version 0:2.9.1-6.amzn2.5.3 or higher.
This issue was patched in ALAS2-2021-1662.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libxml2 package and not the libxml2 package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

A flaw was found in libxml2. Exponential entity expansion attack its possible bypassing all existing protection mechanisms and leading to denial of service.

CVSS Scores

version 3.1