Bug 1374349 (CVE-2016-7164)

Summary: CVE-2016-7164 libtorrent: Segmentation fault caused by malformed GZIP encoded response
Product: [Other] Security Response Reporter: Adam Mariš <amaris>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: low    
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-09-11 13:37:35 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: 1374351, 1374352    
Bug Blocks:    

Description Adam Mariš 2016-09-08 13:25:41 UTC
A segmentation fault happens when receiving malformed GZIP encoded response. An attacker-controlled torrent tracker can crash victim torrent clients by sending malformed GZIP responses.

Upstream issue:

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

Upstream patch:

https://github.com/arvidn/libtorrent/commit/debf3c6e3688aab8394fe5c47737625faffe6f9e

CVE assignment:

http://seclists.org/oss-sec/2016/q3/443

Comment 1 Adam Mariš 2016-09-08 13:26:14 UTC
Created libtorrent tracking bugs for this issue:

Affects: fedora-all [bug 1374351]
Affects: epel-all [bug 1374352]

Comment 2 Denis Fateyev 2016-09-11 13:37:35 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/