Bug 824600 (CVE-2012-2921) - CVE-2012-2921 python-feedparser: DoS via memory consumption processing ENTITY declarations
Summary: CVE-2012-2921 python-feedparser: DoS via memory consumption processing ENTITY...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: CVE-2012-2921
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 824602 824604
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-05-23 19:54 UTC by Vincent Danen
Modified: 2019-09-29 12:53 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-05 08:16:31 UTC
Embargoed:


Attachments (Terms of Use)

Description Vincent Danen 2012-05-23 19:54:29 UTC
A denial of service flaw was reported and fixed in feedparser, a module for parsing atom and RSS feeds in python.  Previously, ENTITY declarations could be used to create a denial of service through exponential memory consumption, by allowing such declarations to hide in non-ASCII-compatible encoded documents.  Feedparser now first normalizes the encoding and then replaces the DOCTYPE and ENTITY declarations.

This is corrected in upstream version 5.1.2 [1] and svn r703 [2].

[1] http://freecode.com/projects/feedparser/releases/344371
[2] https://code.google.com/p/feedparser/source/detail?r=703&path=/trunk/feedparser/feedparser.py

Comment 1 Vincent Danen 2012-05-23 19:55:42 UTC
Created python-feedparser tracking bugs for this issue

Affects: fedora-all [bug 824602]
Affects: epel-all [bug 824604]

Comment 2 Fedora Update System 2012-06-01 17:14:48 UTC
python-feedparser-5.1.2-2.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 3 Haïkel Guémar 2012-08-05 08:16:31 UTC
The bugfixes have been pushed to currently supported releases.


Note You need to log in before you can comment on or make changes to this bug.