CVE-2012-2921: feedparser denial of service vulnerability

CVE-2012-2921 · Severity: low · CVSS 3.1 · Published 2012-05-21

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.

Technologies: feedparser (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2012-2921 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2012-2921 being exploited in the wild.
How severe is CVE-2012-2921?
Low severity, with a CVSS score of 3.1, published 21 May 2012.
Which products and versions are affected?
feedparser (PyPI) ECOSYSTEM:introduced=0,fixed=5.1.2.
Is there a fix for CVE-2012-2921?
Yes. feedparser (PyPI): upgrade to 5.1.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2012-2921?
Check whether you run feedparser (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • feedparser (PyPI): upgrade to 5.1.2 or later
    pip install "feedparser>=5.1.2"

Affected products

  • feedparser (PyPI) ECOSYSTEM:introduced=0,fixed=5.1.2

Identifiers

  • CVE-2012-2921
  • GHSA-hjf3-r7gw-9rwg
  • PYSEC-2012-14

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.