{
  "schema_version": "1.4.0",
  "id": "GHSA-hjf3-r7gw-9rwg",
  "modified": "2024-09-20T17:15:41Z",
  "published": "2018-07-24T20:00:41Z",
  "aliases": [
    "CVE-2012-2921"
  ],
  "summary": "feedparser denial of service vulnerability",
  "details": "Universal Feed Parser (aka feedparser or python-feedparser) before 5.1.2 allows remote attackers to cause a denial of service (memory consumption) via a crafted XML ENTITY declaration in a non-ASCII encoded document.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
    },
    {
      "type": "CVSS_V4",
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "feedparser"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "5.1.2"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2012-2921"
    },
    {
      "type": "WEB",
      "url": "https://code.google.com/p/feedparser/source/browse/trunk/NEWS?spec=svn706&r=706"
    },
    {
      "type": "WEB",
      "url": "https://code.google.com/p/feedparser/source/detail?r=703&path=/trunk/feedparser/feedparser.py"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-hjf3-r7gw-9rwg"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/kurtmckee/feedparser"
    },
    {
      "type": "WEB",
      "url": "https://github.com/pypa/advisory-database/tree/main/vulns/feedparser/PYSEC-2012-14.yaml"
    },
    {
      "type": "WEB",
      "url": "https://web.archive.org/web/20120604210617/http://www.securityfocus.com/bid/53654"
    },
    {
      "type": "WEB",
      "url": "https://web.archive.org/web/20150523060531/http://www.mandriva.com/en/support/security/advisories/advisory/MDVSA-2013:118/?name=MDVSA-2013:118"
    },
    {
      "type": "WEB",
      "url": "https://wiki.mageia.org/en/Support/Advisories/MGASA-2012-0157"
    },
    {
      "type": "WEB",
      "url": "http://freecode.com/projects/feedparser/releases/344371"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-611"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2020-06-16T21:40:30Z",
    "nvd_published_at": null
  }
}