CVE-2012-6685

Exp

Nokogiri before 1.5.4 is vulnerable to XXE attacks

Published: 2020-02-19 Last update: 2024-11-21 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2012-6685 is rated High Exploit Risk (64/100): CVSS High severity, with medium exploitation likelihood (EPSS 0.32%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2012-6685

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2012-6685

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2025-06-11 0.45% 0.32% -0.12%
2 2025-03-30 1.52% 0.45% -1.07%
3 2025-03-29 1.52%

Full EPSS history (6 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2012-6685

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.5 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:N)
Service keeps running; no real outage angle.
3.9 3.6 [email protected]
5.0 2.0 MEDIUM
AV:N/AC:L/Au:N/C:P/I:N/A:N Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:L)
Exploitation conditions are straightforward and predictable.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:P)
Partial confidentiality impact.
Integrity impact (I:N)
No integrity impact.
Availability impact (A:N)
No availability impact.
10.0 2.9 [email protected]

Weakness enumeration for CVE-2012-6685

GitHub Security Advisory for CVE-2012-6685

GHSA-6wj9-77wq-jq7p · Severity: high · Ecosystem: rubygems — Nokogiri is vulnerable to XML External Entity (XXE) attack

OS Trackers for CVE-2012-6685

vendor priority summary link
debian low CVE-2012-6685 low priority: Debian including 1 source packages (ruby-nokogiri), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2012-6685
redhat medium https://access.redhat.com/security/cve/CVE-2012-6685
ubuntu medium CVE-2012-6685 medium priority: Ubuntu including 2 source packages (libnokogiri-ruby, ruby-nokogiri), 20 status rows across 10 suites (lucid, precise, trusty, upstream, utopic, vivid, wily, xenial, yakkety, zesty): DNE 9, not-affected 7, ignored 2, needs-triage 1, released 1. https://ubuntu.com/security/CVE-2012-6685

Affected software / configurations for CVE-2012-6685

Vendor Product Version Raw CPE
nokogiri nokogiri < 1.5.4 cpe:2.3:a:nokogiri:nokogiri:*:*:*:*:*:*:*:*
redhat cloudforms_management_engine 5.0 cpe:2.3:a:redhat:cloudforms_management_engine:5.0:*:*:*:*:*:*:*
redhat openshift 2.0 cpe:2.3:a:redhat:openshift:2.0:*:*:*:enterprise:*:*:*
redhat openstack 4.0 cpe:2.3:a:redhat:openstack:4.0:*:*:*:*:*:*:*
redhat openstack 6.0 cpe:2.3:a:redhat:openstack:6.0:*:*:*:*:*:*:*
redhat openstack_foreman cpe:2.3:a:redhat:openstack_foreman:-:*:*:*:*:*:*:*
redhat satellite 6.0 cpe:2.3:a:redhat:satellite:6.0:*:*:*:*:*:*:*
redhat subscription_asset_manager cpe:2.3:a:redhat:subscription_asset_manager:-:*:*:*:*:*:*:*
redhat enterprise_mrg 2.0 cpe:2.3:o:redhat:enterprise_mrg:2.0:*:*:*:*:*:*:*

References for CVE-2012-6685

URL Tags
https://bugzilla.redhat.com/show_bug.cgi?id=1178970 Issue Tracking Third Party Advisory
https://github.com/sparklemotion/nokogiri/issues/693 Exploit Issue Tracking Third Party Advisory
https://nokogiri.org/CHANGELOG.html#154-2012-06-12 Release Notes Vendor Advisory
cvelogic Threat Intelligence