Bug 1343364 (CVE-2016-5301)

Summary: CVE-2016-5301 libtorrent: Crash while parsing invalid chunked HTTP or UPnP response
Product: [Other] Security Response Reporter: Andrej Nemec <anemec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: bloch, chabotc, cse.cem+redhatbugz, denis, ianburrell, sanjay.ankur
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-10 20:43:48 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: 1343365, 1343366    
Bug Blocks:    

Description Andrej Nemec 2016-06-07 08:31:01 UTC
A vulnerability was found in libtorrent. A specially crafted HTTP response from a tracker (or potentially a UPnP broadcast) can crash libtorrent in the parse_chunk_header() function.


Upstream bug:

https://github.com/arvidn/libtorrent/issues/780

Upstream fix:

https://github.com/arvidn/libtorrent/pull/782

Comment 1 Andrej Nemec 2016-06-07 08:31:44 UTC
Created libtorrent tracking bugs for this issue:

Affects: fedora-all [bug 1343365]
Affects: epel-all [bug 1343366]

Comment 2 Denis Fateyev 2016-08-10 20:43:48 UTC
This bug relates to a different project [1,2] which is also known as "Rasterbar Libtorrent". That project has nothing to do with Libtorrent by Rakshasa [3] which is provided by "libtorrent" package. The projects name similarity can be confusing indeed.

[1] https://github.com/arvidn/libtorrent

[2] http://libtorrent.org/

[3] https://github.com/rakshasa/libtorrent/