Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion') Affecting libxml2 package, versions <2.9.11-r0


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

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-ALPINE316-LIBXML2-2842890
  • published24 Jul 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 Alpine:3.16 libxml2 to version 2.9.11-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libxml2 package and not the libxml2 package as distributed by Alpine. See How to fix? for Alpine:3.16 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