Bug 824600 (CVE-2012-2921)

Summary: CVE-2012-2921 python-feedparser: DoS via memory consumption processing ENTITY declarations
Product: [Other] Security Response Reporter: Vincent Danen <vdanen>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: bugs.michael, jpopelka, karlthered, lmacken, louiz
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-05 08:16:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 824602, 824604    
Bug Blocks:    

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.