Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. feedparser
  4. ›
  5. CVE-2012-2921

CVE-2012-2921: feedparser denial of service vulnerability

July 24, 2018 (updated September 20, 2024)

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.

References

  • code.google.com/p/feedparser/source/browse/trunk/NEWS?spec=svn706&r=706
  • code.google.com/p/feedparser/source/detail?r=703&path=/trunk/feedparser/feedparser.py
  • github.com/advisories/GHSA-hjf3-r7gw-9rwg
  • github.com/kurtmckee/feedparser
  • github.com/pypa/advisory-database/tree/main/vulns/feedparser/PYSEC-2012-14.yaml
  • nvd.nist.gov/vuln/detail/CVE-2012-2921
  • web.archive.org/web/20120604210617/http://www.securityfocus.com/bid/53654
  • web.archive.org/web/20150523060531/http://www.mandriva.com/en/support/security/advisories/advisory/MDVSA-2013:118/?name=MDVSA-2013:118
  • wiki.mageia.org/en/Support/Advisories/MGASA-2012-0157

Code Behaviors & Features

Detect and mitigate CVE-2012-2921 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 5.1.2

Fixed versions

  • 5.1.2

Solution

Upgrade to version 5.1.2 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-611: Improper Restriction of XML External Entity Reference

Source file

pypi/feedparser/CVE-2012-2921.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:15 +0000.