Miggo Logo

CVE-2013-6461: Nokogiri vulnerable to DoS while parsing XML entities

6.5

CVSS Score
3.1

Basic Information

EPSS Score
0.83047%
Published
5/5/2022
Updated
6/30/2023
KEV Status
No
Technology
TechnologyRuby

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Package NameEcosystemVulnerable VersionsFirst Patched Version
nokogirirubygems>= 1.5.0, < 1.5.111.5.11
nokogirirubygems>= 1.6.0, < 1.6.11.6.1

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability (CWE-776) stems from Nokogiri's failure to apply limits on XML entity expansion, leading to DoS via recursive entity references. However, the provided data lacks specific code references, commit diffs, or patch details. While the issue likely resides in functions configuring libxml2 parser options (e.g., setting entity expansion limits), the exact function names and file paths cannot be confidently identified without examining the patched code changes. Thus, no functions are listed with high confidence.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

Noko*iri **m *.*.x *n* *.*.x **s *oS w*il* p*rsin* XML *ntiti*s *y **ilin* to *pply limits

Reasoning

T** vuln*r**ility (*W*-***) st*ms *rom Noko*iri's **ilur* to *pply limits on XML *ntity *xp*nsion, l***in* to *oS vi* r**ursiv* *ntity r***r*n**s. *ow*v*r, t** provi*** **t* l**ks sp**i*i* *o** r***r*n**s, *ommit *i**s, or p*t** **t*ils. W*il* t** is