🛡️ CVE-2012-6685 — nokogiri
Description
Nokogiri is vulnerable to XML External Entity (XXE) attack
Nokogiri before 1.5.4 is vulnerable to XXE attacks.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity none, availability none.
Weakness class
CVE-2012-6685 is classified as CWE-776: XML Entity Expansion. Nested entity definitions expand enormously when parsed, consuming memory and CPU.
Affected software
CVE-2012-6685 is recorded against 1 package.
- nokogiri (fixed in 1.5.4)
Timeline and source
Published on 23 April 2022 and last revised on 8 November 2023. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
nvd.nist.gov (Advisory)
github.com (Web)
bugzilla.redhat.com (Web)
github.com (Package)
nokogiri.org (Web)
Details
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| nokogiri | — | 1.5.4 |
References
Similar Threats
- Low CVE-2026-57234
- High CVE-2022-23476
- Unknown CVE-2019-13117
- High CVE-2019-13118
- High CVE-2019-18197
More CVE 2012 advisories
Browse all of CVE 2012 in the advisory index.
Site Security Check
Is nokogiri part of your stack?
CVE-2012-6685 is rated CVSS 8.0 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.