CVE-2012-6685 (GCVE-0-2012-6685)

Vulnerability from cvelistv5 – Published: 2020-02-19 14:41 – Updated: 2024-08-06 21:36
VLAI
Summary
Nokogiri before 1.5.4 is vulnerable to XXE attacks
CWE
  • n/a
Date Public
2012-06-06 00:00
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-06T21:36:01.934Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "https://github.com/sparklemotion/nokogiri/issues/693"
          },
          {
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1178970"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "https://nokogiri.org/CHANGELOG.html#154-2012-06-12"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "n/a",
          "vendor": "n/a",
          "versions": [
            {
              "status": "affected",
              "version": "n/a"
            }
          ]
        }
      ],
      "datePublic": "2012-06-06T00:00:00.000Z",
      "descriptions": [
        {
          "lang": "en",
          "value": "Nokogiri before 1.5.4 is vulnerable to XXE attacks"
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "description": "n/a",
              "lang": "en",
              "type": "text"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2020-02-19T14:41:27.000Z",
        "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "shortName": "mitre"
      },
      "references": [
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://github.com/sparklemotion/nokogiri/issues/693"
        },
        {
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1178970"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://nokogiri.org/CHANGELOG.html#154-2012-06-12"
        }
      ],
      "x_legacyV4Record": {
        "CVE_data_meta": {
          "ASSIGNER": "cve@mitre.org",
          "ID": "CVE-2012-6685",
          "STATE": "PUBLIC"
        },
        "affects": {
          "vendor": {
            "vendor_data": [
              {
                "product": {
                  "product_data": [
                    {
                      "product_name": "n/a",
                      "version": {
                        "version_data": [
                          {
                            "version_value": "n/a"
                          }
                        ]
                      }
                    }
                  ]
                },
                "vendor_name": "n/a"
              }
            ]
          }
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "eng",
              "value": "Nokogiri before 1.5.4 is vulnerable to XXE attacks"
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "eng",
                  "value": "n/a"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://github.com/sparklemotion/nokogiri/issues/693",
              "refsource": "CONFIRM",
              "url": "https://github.com/sparklemotion/nokogiri/issues/693"
            },
            {
              "name": "https://bugzilla.redhat.com/show_bug.cgi?id=1178970",
              "refsource": "MISC",
              "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1178970"
            },
            {
              "name": "https://nokogiri.org/CHANGELOG.html#154-2012-06-12",
              "refsource": "CONFIRM",
              "url": "https://nokogiri.org/CHANGELOG.html#154-2012-06-12"
            }
          ]
        }
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
    "assignerShortName": "mitre",
    "cveId": "CVE-2012-6685",
    "datePublished": "2020-02-19T14:41:27.000Z",
    "dateReserved": "2015-01-05T00:00:00.000Z",
    "dateUpdated": "2024-08-06T21:36:01.934Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2012-6685",
      "date": "2026-09-22",
      "epss": "0.02168",
      "percentile": "0.81469"
    },
    "fkie_nvd": {
      "configurations": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:nokogiri:nokogiri:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "CB203B5A-2979-4C08-8E90-EEA32EE5ACB0",
                  "versionEndExcluding": "1.5.4",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        },
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:redhat:cloudforms_management_engine:5.0:*:*:*:*:*:*:*",
                  "matchCriteriaId": "7098B44F-56BF-42E3-8831-48D0A8E99EE2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:redhat:openshift:2.0:*:*:*:enterprise:*:*:*",
                  "matchCriteriaId": "884F5BE8-59F5-4502-9765-F3A3E505570F",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:redhat:openstack:4.0:*:*:*:*:*:*:*",
                  "matchCriteriaId": "1802FDB8-C919-4D5E-A8AD-4C5B72525090",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:redhat:openstack:6.0:*:*:*:*:*:*:*",
                  "matchCriteriaId": "31EC146C-A6F6-4C0D-AF87-685286262DAA",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:redhat:openstack_foreman:-:*:*:*:*:*:*:*",
                  "matchCriteriaId": "C77E4AD2-8BB5-427E-90BA-CB43B3684179",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:redhat:satellite:6.0:*:*:*:*:*:*:*",
                  "matchCriteriaId": "848C92A9-0677-442B-8D52-A448F2019903",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:redhat:subscription_asset_manager:-:*:*:*:*:*:*:*",
                  "matchCriteriaId": "B0E2C740-099C-427F-846D-951A2A1BF07E",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:redhat:enterprise_mrg:2.0:*:*:*:*:*:*:*",
                  "matchCriteriaId": "C60FA8B1-1802-4522-A088-22171DCF7A93",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "Nokogiri before 1.5.4 is vulnerable to XXE attacks"
        },
        {
          "lang": "es",
          "value": "Nokogiri versiones anteriores a 1.5.4, es vulnerable a ataques de tipo XXE."
        }
      ],
      "id": "CVE-2012-6685",
      "lastModified": "2024-11-21T01:46:40.347",
      "metrics": {
        "cvssMetricV2": [
          {
            "acInsufInfo": false,
            "baseSeverity": "MEDIUM",
            "cvssData": {
              "accessComplexity": "LOW",
              "accessVector": "NETWORK",
              "authentication": "NONE",
              "availabilityImpact": "NONE",
              "baseScore": 5.0,
              "confidentialityImpact": "PARTIAL",
              "integrityImpact": "NONE",
              "vectorString": "AV:N/AC:L/Au:N/C:P/I:N/A:N",
              "version": "2.0"
            },
            "exploitabilityScore": 10.0,
            "impactScore": 2.9,
            "obtainAllPrivilege": false,
            "obtainOtherPrivilege": false,
            "obtainUserPrivilege": false,
            "source": "nvd@nist.gov",
            "type": "Primary",
            "userInteractionRequired": false
          }
        ],
        "cvssMetricV31": [
          {
            "cvssData": {
              "attackComplexity": "LOW",
              "attackVector": "NETWORK",
              "availabilityImpact": "NONE",
              "baseScore": 7.5,
              "baseSeverity": "HIGH",
              "confidentialityImpact": "HIGH",
              "integrityImpact": "NONE",
              "privilegesRequired": "NONE",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
              "version": "3.1"
            },
            "exploitabilityScore": 3.9,
            "impactScore": 3.6,
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      },
      "published": "2020-02-19T15:15:11.723",
      "references": [
        {
          "source": "cve@mitre.org",
          "tags": [
            "Issue Tracking",
            "Third Party Advisory"
          ],
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1178970"
        },
        {
          "source": "cve@mitre.org",
          "tags": [
            "Exploit",
            "Issue Tracking",
            "Third Party Advisory"
          ],
          "url": "https://github.com/sparklemotion/nokogiri/issues/693"
        },
        {
          "source": "cve@mitre.org",
          "tags": [
            "Release Notes",
            "Vendor Advisory"
          ],
          "url": "https://nokogiri.org/CHANGELOG.html#154-2012-06-12"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "tags": [
            "Issue Tracking",
            "Third Party Advisory"
          ],
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1178970"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "tags": [
            "Exploit",
            "Issue Tracking",
            "Third Party Advisory"
          ],
          "url": "https://github.com/sparklemotion/nokogiri/issues/693"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "tags": [
            "Release Notes",
            "Vendor Advisory"
          ],
          "url": "https://nokogiri.org/CHANGELOG.html#154-2012-06-12"
        }
      ],
      "sourceIdentifier": "cve@mitre.org",
      "vulnStatus": "Modified",
      "weaknesses": [
        {
          "description": [
            {
              "lang": "en",
              "value": "CWE-776"
            }
          ],
          "source": "nvd@nist.gov",
          "type": "Primary"
        }
      ]
    },
    "nvd": {
      "cve": {
        "configurations": [
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:a:nokogiri:nokogiri:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "CB203B5A-2979-4C08-8E90-EEA32EE5ACB0",
                    "versionEndExcluding": "1.5.4",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          },
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:a:redhat:cloudforms_management_engine:5.0:*:*:*:*:*:*:*",
                    "matchCriteriaId": "7098B44F-56BF-42E3-8831-48D0A8E99EE2",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:redhat:openshift:2.0:*:*:*:enterprise:*:*:*",
                    "matchCriteriaId": "884F5BE8-59F5-4502-9765-F3A3E505570F",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:redhat:openstack:4.0:*:*:*:*:*:*:*",
                    "matchCriteriaId": "1802FDB8-C919-4D5E-A8AD-4C5B72525090",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:redhat:openstack:6.0:*:*:*:*:*:*:*",
                    "matchCriteriaId": "31EC146C-A6F6-4C0D-AF87-685286262DAA",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:redhat:openstack_foreman:-:*:*:*:*:*:*:*",
                    "matchCriteriaId": "C77E4AD2-8BB5-427E-90BA-CB43B3684179",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:redhat:satellite:6.0:*:*:*:*:*:*:*",
                    "matchCriteriaId": "848C92A9-0677-442B-8D52-A448F2019903",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:redhat:subscription_asset_manager:-:*:*:*:*:*:*:*",
                    "matchCriteriaId": "B0E2C740-099C-427F-846D-951A2A1BF07E",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:redhat:enterprise_mrg:2.0:*:*:*:*:*:*:*",
                    "matchCriteriaId": "C60FA8B1-1802-4522-A088-22171DCF7A93",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "Nokogiri before 1.5.4 is vulnerable to XXE attacks"
          },
          {
            "lang": "es",
            "value": "Nokogiri versiones anteriores a 1.5.4, es vulnerable a ataques de tipo XXE."
          }
        ],
        "id": "CVE-2012-6685",
        "lastModified": "2024-11-21T01:46:40.347",
        "metrics": {
          "cvssMetricV2": [
            {
              "acInsufInfo": false,
              "baseSeverity": "MEDIUM",
              "cvssData": {
                "accessComplexity": "LOW",
                "accessVector": "NETWORK",
                "authentication": "NONE",
                "availabilityImpact": "NONE",
                "baseScore": 5.0,
                "confidentialityImpact": "PARTIAL",
                "integrityImpact": "NONE",
                "vectorString": "AV:N/AC:L/Au:N/C:P/I:N/A:N",
                "version": "2.0"
              },
              "exploitabilityScore": 10.0,
              "impactScore": 2.9,
              "obtainAllPrivilege": false,
              "obtainOtherPrivilege": false,
              "obtainUserPrivilege": false,
              "source": "nvd@nist.gov",
              "type": "Primary",
              "userInteractionRequired": false
            }
          ],
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "NONE",
                "baseScore": 7.5,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "NONE",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
                "version": "3.1"
              },
              "exploitabilityScore": 3.9,
              "impactScore": 3.6,
              "source": "nvd@nist.gov",
              "type": "Primary"
            }
          ]
        },
        "published": "2020-02-19T15:15:11.723",
        "references": [
          {
            "source": "cve@mitre.org",
            "tags": [
              "Issue Tracking",
              "Third Party Advisory"
            ],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1178970"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Exploit",
              "Issue Tracking",
              "Third Party Advisory"
            ],
            "url": "https://github.com/sparklemotion/nokogiri/issues/693"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Release Notes",
              "Vendor Advisory"
            ],
            "url": "https://nokogiri.org/CHANGELOG.html#154-2012-06-12"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Issue Tracking",
              "Third Party Advisory"
            ],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1178970"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Exploit",
              "Issue Tracking",
              "Third Party Advisory"
            ],
            "url": "https://github.com/sparklemotion/nokogiri/issues/693"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Release Notes",
              "Vendor Advisory"
            ],
            "url": "https://nokogiri.org/CHANGELOG.html#154-2012-06-12"
          }
        ],
        "sourceIdentifier": "cve@mitre.org",
        "vulnStatus": "Modified",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-776"
              }
            ],
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-06-27T13:04:31+00:00",
      "cve": "CVE-2012-6685",
      "id": "CVE-2012-6685",
      "initial_release_date": "2012-06-06T00:00:00+00:00",
      "product_status:fixed": "311",
      "product_status:known_affected": "12",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "rubygem-nokogiri: XML eXternal Entity (XXE) flaw",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2012/cve-2012-6685.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "important",
      "current_release_date": "2025-10-08T00:55:51Z",
      "cve": "CVE-2012-6685",
      "id": "CVE-2012-6685",
      "initial_release_date": "2023-02-15T05:42:51Z",
      "product_status:known_not_affected": "8",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2012-6685",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2012-6685.json",
      "version": "5"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…