cve.bz

CVE-2012-6685 Billion Laughs Attack

7.5 highExploit referenceEPSS 2.2%Fix available

High (7.5). EPSS 2.2% estimated probability of exploitation activity in the next 30 days. Fixed in nokogiri 1.5.4.

On this page
Nokogiri before 1.5.4 is vulnerable to XXE attacks

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
2.2% (unchanged from 2.2% a week ago; 2.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 83rd percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-776 Improper Restriction of Recursive Entity References in DTDs (Billion Laughs Attack)
OWASP Top 10
A02:2025 Security Misconfiguration
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2012-6685 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2012-6685?via=ask-ai-copy and https://cve.bz/cve/CVE-2012-6685?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2012-6685 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
nokogiri:nokogiribefore 1.5.4
redhat:cloudforms_management_engine5.0
redhat:openshift2.0
redhat:openstack4.0
redhat:openstack6.0
redhat:satellite6.0
redhat:enterprise_mrg2.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-6wj9-77wq-jq7pRubyGemsnokogiri<1.5.41.5.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian6.0libnokogiri-ruby1.4.0-4+deb6u1DLA-229-1
Debian12, 13, 14ruby-nokogiri1.5.4-1DEBIAN-CVE-2012-6685
Red Hatcloudforms_managementengine:5.10::el7ansible-runner0:1.1.2-2.el7arRHSA-2019:0212
Red Hatcloudforms_managementengine:5.10::el7ansible-tower, ansible-tower-ui, ansible-tower-setup and 3 more0:3.3.3-1.el7atRHSA-2019:0212
Red Hatcloudforms_managementengine:5.10::el7bubblewrap, bubblewrap-debuginfo0:0.1.7-1.el7RHSA-2019:0212
Red Hatcloudforms_managementengine:5.10::el7cfme, cfme-gemset, cfme-appliance and 6 more0:5.10.0.33-1.el7cfRHSA-2019:0212
Red Hatcloudforms_managementengine:5.10::el7dbus-api-service0:1.0.1-5.el7cfRHSA-2019:0212
Red Hatcloudforms_managementengine:5.10::el7dumb-init, dumb-init-debuginfo0:1.2.0-1.el7cfRHSA-2019:0212
Red Hatcloudforms_managementengine:5.10::el7erlang, erlang-et, erlang-gs and 49 more0:19.3.6.7-1.el7atRHSA-2019:0212
Red Hatcloudforms_managementengine:5.10::el7google-config, google-compute-engine0:2.0.0-2.el7cfRHSA-2019:0212
Red Hatcloudforms_managementengine:5.10::el7httpd-configmap-generator0:0.2.2-2.el7cfRHSA-2019:0212
Red Hatcloudforms_managementengine:5.10::el7nginx, nginx-mod-mail, nginx-debuginfo and 7 more1:1.10.2-1.el7atRHSA-2019:0212
Red Hatcloudforms_managementengine:5.10::el7ovirt-ansible-infra, ovirt-ansible-image-template, ovirt-ansible-cluster-upgrade0:1.1.8-1.el7evRHSA-2019:0212
Red Hatcloudforms_managementengine:5.10::el7ovirt-ansible-manageiq0:1.1.12-1.el7evRHSA-2019:0212
69 more for Red Hat in the JSON and on Red Hat's page.

From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This issue affects the versions of ruby193-rubygem-nokogiri as shipped with Red Hat Satellite 6 and Red Hat OpenStack 6. Red Hat Product Security has rated this issue as having moderate security impact. A future update may address this issue.

Red Hat Product Security has rated this issue as having no security impact for rubygem-nokogiri as shipped with: Red Hat Enterprise MRG 2.5, Red Hat Subscription Asset Manager 1.3, Red Hat CloudForms Management Engine 5.3.0, Red Hat OpenShift Enterprise 2.2.0; for ruby193-rubygem-nokogiri as shipped with Red Hat Satellite 6, Red Hat Subscription Asset Manager 1.3, Red Hat CloudForms Management Engine 5.3.0, Red Hat OpenStack 4.0, Red Hat OpenStack Foreman, Red Hat OpenStack 6, Red Hat OpenShift Enterprise 2.2.0; and for mingw-rubygem-nokogiri as shipped with Red Hat CloudForms Management Engine 5.3.0. This issue is not currently planned to be addressed in future updates.

For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.

ProductPackageStateAdvisory
CloudForms Management Engine 5.10ansible-runner-0:1.1.2-2.el7arFixed 2019-02-07RHSA-2019:0212
CloudForms Management Engine 5.10ansible-tower-0:3.3.3-1.el7atFixed 2019-02-07RHSA-2019:0212
CloudForms Management Engine 5.10bubblewrap-0:0.1.7-1.el7Fixed 2019-02-07RHSA-2019:0212
CloudForms Management Engine 5.10cfme-0:5.10.0.33-1.el7cfFixed 2019-02-07RHSA-2019:0212
CloudForms Management Engine 5.10cfme-amazon-smartstate-0:5.10.0.33-1.el7cfFixed 2019-02-07RHSA-2019:0212
CloudForms Management Engine 5.10cfme-appliance-0:5.10.0.33-1.el7cfFixed 2019-02-07RHSA-2019:0212
CloudForms Management Engine 5.10cfme-gemset-0:5.10.0.33-1.el7cfFixed 2019-02-07RHSA-2019:0212
CloudForms Management Engine 5.10dbus-api-service-0:1.0.1-5.el7cfFixed 2019-02-07RHSA-2019:0212
CloudForms Management Engine 5.10dumb-init-0:1.2.0-1.el7cfFixed 2019-02-07RHSA-2019:0212
CloudForms Management Engine 5.10erlang-0:19.3.6.7-1.el7atFixed 2019-02-07RHSA-2019:0212
CloudForms Management Engine 5.10google-compute-engine-0:2.0.0-2.el7cfFixed 2019-02-07RHSA-2019:0212
OpenStack Foremanruby193-rubygem-nokogiriWill not fix
Red Hat Enterprise Linux OpenStack Platform 6 (Juno) Installerruby193-rubygem-nokogiriFix deferred
Red Hat Enterprise MRG 2rubygem-nokogiriWill not fix
Red Hat OpenShift Enterprise 2ruby193-rubygem-nokogiriWill not fix
Red Hat OpenShift Enterprise 2rubygem-nokogiriWill not fix
Red Hat OpenStack Platform 4ruby193-rubygem-nokogiriWill not fix
Red Hat Satellite 6ruby193-rubygem-nokogiriWill not fix
Red Hat Subscription Asset Managerruby193-rubygem-nokogiriWill not fix
Red Hat Subscription Asset Managerrubygem-nokogiriWill not fix
65 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2012-6685.

Attack patterns (CAPEC)

  • CAPEC-197 Exponential Data Expansion Likelihood: High · Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON