Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. nokogiri
  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. By exploiting an exponential entity expansion attack its possible bypassing all existing protection mechanisms and lead to a 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. Learn more about Dependency Scanning →

Affected versions

All versions before 1.11.4

Fixed versions

  • 1.11.4

Solution

Upgrade to version 1.11.4 or above.

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

Source file

gem/nokogiri/CVE-2021-3541.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:14:56 +0000.