Bug 1204829

Summary: PyYAML: assert failure when processing wrapped strings
Product: [Other] Security Response Reporter: Martin Prpič <mprpic>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: abaron, aortega, apevec, ayoung, bgollahe, bhu, bkearney, ceph-eng-bugs, chrisw, cperry, dallan, esammons, ggainey, gkotton, iboverma, jeckersb, jmatthew, jorton, jross, jrusnack, kanderso, lhh, lpeer, markmc, matt, mcressma, meissner, mmaslano, mrg-program-list, rbryant, sclewis, sisharma, srevivo, taw, thomas, tjay, tsanders, williams
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
An assertion failure was found in the way the PyYAML library parsed wrapped strings. An attacker able to load specially crafted YAML input into an application using PyYAML could cause the application to crash.
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-03 21:15:53 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: 1204830, 1204832, 1204833    
Bug Blocks: 1204835    

Description Martin Prpič 2015-03-23 15:03:02 UTC
An assertion failure was found in the way the PyYAML library parsed wrapped strings. An attacker able to load specially crafted YAML input into an application using PyYAML could cause the application to crash.

This is the same flaw as CVE-2014-9130 but in the Python implementation of the YAML library. MITRE recommends it should be a separate issue:

http://seclists.org/oss-sec/2014/q4/854

Upstream patch:

https://bitbucket.org/xi/pyyaml/commits/ddf211a41bb231c365fece5599b7e484e6dc33fc

Comment 1 Martin Prpič 2015-03-23 15:04:20 UTC
Created PyYAML tracking bugs for this issue:

Affects: fedora-all [bug 1204830]
Affects: epel-5 [bug 1204832]

Comment 2 Martin Prpič 2015-03-23 15:04:24 UTC
Created python26-PyYAML tracking bugs for this issue:

Affects: epel-5 [bug 1204833]

Comment 4 Fedora Update System 2015-04-05 14:33:26 UTC
PyYAML-3.11-7.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Fedora Update System 2015-04-05 14:35:48 UTC
PyYAML-3.10-11.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2015-04-09 16:55:59 UTC
PyYAML-3.09-11.el5 has been pushed to the Fedora EPEL 5 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2015-04-21 18:36:20 UTC
PyYAML-3.11-7.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.