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

CVE-2013-6460: Memory Exhaustion Vulnerability when using JRuby

November 5, 2019 (updated November 8, 2019)

Attackers can send XML documents with carefully crafted documents which can cause the XML processor to enter an infinite loop, causing the server to run out of memory and crash. Impacted code will look something like this: doc = Nokogiri.XML(untrusted_input).

References

  • groups.google.com/forum/

Code Behaviors & Features

Detect and mitigate CVE-2013-6460 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 starting from 1.5.x before 1.5.11, all versions starting from 1.6.x before 1.6.1

Fixed versions

  • 1.5.11
  • 1.6.1

Solution

Upgrade to latest fixed version or see workaround in source link.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/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

gem/nokogiri/CVE-2013-6460.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:57 +0000.