Bug 19313 - libtorrent-rasterbar new security issue CVE-2016-7164
Summary: libtorrent-rasterbar new security issue CVE-2016-7164
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: Security (show other bugs)
Version: 5
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact: Sec team
URL: http://lwn.net/Vulnerabilities/700649/
Whiteboard: has_procedure MGA5-32-OK MGA5-64-OK
Keywords: validated_update
Depends on:
Blocks:
 
Reported: 2016-09-08 15:08 CEST by David Walser
Modified: 2016-09-27 08:32 CEST (History)
7 users (show)

See Also:
Source RPM: libtorrent-rasterbar-1.0.9-2.mga6.src.rpm
CVE:
Status comment:


Attachments
File to launch a BitTorrent download (31.34 KB, application/x-bittorrent)
2016-09-25 10:16 CEST, Lewis Smith
Details

Description David Walser 2016-09-08 15:08:37 CEST
A CVE has been assigned for a DoS security issue fixed in upstream git:
http://www.openwall.com/lists/oss-security/2016/09/08/7

The commit to fix the issue is linked in the message above.

I'm not sure if Mageia 5 is affected.
Comment 1 Marja Van Waes 2016-09-08 15:49:40 CEST
Assigning to maintainer.

However, CC'ing all packagers collectively, because the registered maintainer is, unfortunately, mostly MIA.

@ Matteo

If real life allows you to fix the issue, then please set the Status of this report to ASSIGNED, so that no one else will start working on it :-)

Kind regards,
Marja

CC: (none) => marja11, pkg-bugs
Assignee: bugsquad => matteo.pasotti

Comment 2 David GEIGER 2016-09-12 09:46:59 CEST
Fixed for mga5 and freeze_push requested for Cauldron.

CC: (none) => geiger.david68210

Comment 3 David Walser 2016-09-12 16:48:52 CEST
Thanks David!  Waiting for freeze push before assigning to QA.

Advisory:
========================

Applications using libtorrent-rasterbar are vulnerable to denial of service.
An attacker-controlled torrent tracker can crash victim torrent clients by
sending malformed GZIP responses (CVE-2016-7164).

References:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-7164
http://www.openwall.com/lists/oss-security/2016/09/08/7
========================

Updated packages in core/updates_testing:
========================
libtorrent-rasterbar7-0.16.18-1.3.mga5
python-libtorrent-rasterbar-0.16.18-1.3.mga5
libtorrent-rasterbar-devel-0.16.18-1.3.mga5

from libtorrent-rasterbar-0.16.18-1.3.mga5.src.rpm
Comment 4 David Walser 2016-09-12 18:41:54 CEST
libtorrent-rasterbar-1.0.10-1.mga6 uploaded for Cauldron.  Assigning to QA.

This is used by qbittorrent, deluge, and miro.

Advisory and package list in Comment 3.

Version: Cauldron => 5
Assignee: matteo.pasotti => qa-bugs
Whiteboard: (none) => has_procedure

Comment 5 Herman Viaene 2016-09-13 11:36:05 CEST
MGA5-32 on Acer D620 Xfce
No installation issues.
Opened deluge with CLI "strace -o deluge.txt deluge" and found a reference to libtorrent-rasterbar

CC: (none) => herman.viaene

Herman Viaene 2016-09-13 11:36:22 CEST

Whiteboard: has_procedure => has_procedure MGA5-32-OK

David Walser 2016-09-14 18:58:07 CEST

URL: (none) => http://lwn.net/Vulnerabilities/700649/

Comment 6 Lewis Smith 2016-09-25 10:16:36 CEST
Created attachment 8447 [details]
File to launch a BitTorrent download

This attachment can be used to launch a BitTorrent download of a Mageia 5 Gnome DVD.
Right-click the file, and the context menu offers (if you have them):
- open with Deluge
- open with qBitTorrent
which is a handy way to launch these clients to do something. You have to 'add' the selected file, then off it goes. You may need to select the torrent to see its info and control it. You can pause then remove the torrent and its associated data.

CC: (none) => lewyssmith

Comment 7 Lewis Smith 2016-09-25 10:23:43 CEST
Recap of the component relationships:-
 lib64torrent-rasterbar7
 |_qbittorrent[-nox]         Client program[s]
 |_python-libtorrent-rasterbar
   |_deluge                  Client program
   |_miro                    Client program

Testing MGA5 x64.

BEFORE update:
 lib64torrent-rasterbar7-0.16.18-1.2.mga5
 python-libtorrent-rasterbar-0.16.18-1.2.mga5
Confirmed with the test file Comment 6 that these basically worked.

AFTER update:
 lib64torrent-rasterbar7-0.16.18-1.3.mga5
 python-libtorrent-rasterbar-0.16.18-1.3.mga5
Launched both qbittorrent and deluge from the test file context menu; they seemed to work OK.

Validating this update.

Keywords: (none) => validated_update
Whiteboard: has_procedure MGA5-32-OK => has_procedure MGA5-32-OK MGA5-64-OK
CC: (none) => sysadmin-bugs

Comment 8 Nicolas Lécureuil 2016-09-25 13:47:16 CEST
Please add 19313.adv

CC: (none) => mageia

Comment 9 Mageia Robot 2016-09-25 17:46:09 CEST
An update for this issue has been pushed to the Mageia Updates repository.

http://advisories.mageia.org/MGASA-2016-0320.html

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 10 Lewis Smith 2016-09-26 21:31:26 CEST
(In reply to Nicolas Lécureuil from comment #8)
> Please add 19313.adv
I would have done this, along with other advisories awaiting; but thanks.
Comment 11 Nicolas Lécureuil 2016-09-27 08:32:50 CEST
i was on it so i did it :)
it was quick as QA team already added all the infos on the bugreport.

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