Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. nokogiri
  4. ›
  5. CVE-2012-6685

CVE-2012-6685: XML External Entity (XXE) Expansion Internal Network Response Remote

February 19, 2020 (updated February 25, 2020)

Nokogiri is vulnerable to XXE attacks.

References

  • bugzilla.redhat.com/show_bug.cgi?id=1178970
  • github.com/sparklemotion/nokogiri/commit/599856367150709497a3a03bee930bd76504d95d
  • github.com/sparklemotion/nokogiri/issues/693
  • nokogiri.org/CHANGELOG.html
  • nvd.nist.gov/vuln/detail/CVE-2012-6685

Code Behaviors & Features

Detect and mitigate CVE-2012-6685 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.5.4

Fixed versions

  • 1.5.4

Solution

Upgrade to version 1.5.4 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

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

Source file

gem/nokogiri/CVE-2012-6685.yml

Spotted a mistake? Edit the file on GitLab.

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

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