Bug 1277488 - python-pycurl: use-after-free vulnerability in HTTPPOST when using FORM_BUFFERPTR with Unicode string
Summary: python-pycurl: use-after-free vulnerability in HTTPPOST when using FORM_BUFFE...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1277489 1277490
Blocks: 1277491
TreeView+ depends on / blocked
 
Reported: 2015-11-03 13:10 UTC by Adam Mariš
Modified: 2019-09-29 13:39 UTC (History)
2 users (show)

Fixed In Version: python-pycurl 7.19.5.2
Clone Of:
Environment:
Last Closed: 2015-12-01 13:52:29 UTC
Embargoed:


Attachments (Terms of Use)

Description Adam Mariš 2015-11-03 13:10:22 UTC
A use-after-free vulnerability was found in Curl object's HTTPPOST setopt when a Unicode value is passed as a value with a FORM_BUFFERPTR. The str object created from the passed in unicode object would have its buffer used but the unicode object would be stored instead of the str object.

Upstream patch:

https://github.com/clintclayton/pycurl/commit/2a743674dcf152beaaf6adaddb1ef51b18d1fffe

Comment 1 Adam Mariš 2015-11-03 13:10:50 UTC
Created python-pycurl tracking bugs for this issue:

Affects: fedora-all [bug 1277489]
Affects: epel-5 [bug 1277490]

Comment 2 Kamil Dudka 2015-11-03 18:22:31 UTC
(In reply to Adam Mariš from comment #1)
> Affects: epel-5 [bug 1277490]

How are you confirming that epel-5 is affected?

I see no CURLFORM_BUFFERPTR handling in python-pycurl-7.15.5.1-4.el5.

Comment 4 Tomas Hoger 2015-12-01 13:52:29 UTC
CURLFORM_BUFFERPTR support was only introduced in pycurl version 7.19.3.  The versions used in Red Hat Enterprise Linux 7 and earlier are 7.19.0 or earlier.  Therefore, no version currently in Red Hat Enterprise Linux is affected by this issue.  Problem was fixed upstream 7.19.5.2.


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