Advisory Database
  • Advisories
  • Dependency Scanning
  1. nuget
  2. ›
  3. libxml2
  4. ›
  5. CVE-2021-3541

CVE-2021-3541: Improper Restriction of Recursive Entity References in DTDs (XML Entity Expansion)

July 9, 2021 (updated March 1, 2022)

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

References

  • bugzilla.redhat.com/show_bug.cgi?id=1950515
  • nvd.nist.gov/vuln/detail/CVE-2021-3541

Code Behaviors & Features

Detect and mitigate CVE-2021-3541 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 2.9.11

Solution

Unfortunately, there is no solution available yet.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-776: Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion')

Source file

nuget/libxml2/CVE-2021-3541.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:01 +0000.