Bug 20245 - netpbm new security issues CVE-2017-2579 and CVE-2017-258[0167]
Summary: netpbm new security issues CVE-2017-2579 and CVE-2017-258[0167]
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: https://lwn.net/Vulnerabilities/715042/
Whiteboard: advisory MGA5-32-OK MGA5-64-OK
Keywords: validated_update
Depends on:
Blocks:
 
Reported: 2017-02-05 15:42 CET by David Walser
Modified: 2017-02-21 11:54 CET (History)
5 users (show)

See Also:
Source RPM: netpbm-10.71.02-1.mga6.src.rpm
CVE:
Status comment:


Attachments

Description David Walser 2017-02-05 15:42:36 CET
CVEs have been assigned for multiple security issues in netpbm:
http://openwall.com/lists/oss-security/2017/02/05/7

It says the issues were found in an older branch, but it's not clear if any have been fixed in later versions or if those just haven't been tested.
David Walser 2017-02-05 15:42:44 CET

Whiteboard: (none) => MGA5TOO

Comment 1 Marja Van Waes 2017-02-06 11:31:50 CET
(In reply to David Walser from comment #0)
> CVEs have been assigned for multiple security issues in netpbm:
> http://openwall.com/lists/oss-security/2017/02/05/7
> 
> It says the issues were found in an older branch, but it's not clear if any
> have been fixed in later versions or if those just haven't been tested.

Maybe one of our packagers is willing to investigate.

Assigning to all packagers collectively, since there is no registered maintainer for this package.

CC: (none) => marja11
Assignee: bugsquad => pkg-bugs

Comment 2 Mike Rambo 2017-02-07 13:51:19 CET
I checked with Bryan Henderson upstream.

"The two Svgtopam vulnerabilities exist in both those releases.

The current Stable release (10.73.07) has them fixed."

I will try to package 10.73.07 for both cauldron and 5.

CC: (none) => mrambo

Comment 3 Mike Rambo 2017-02-08 16:59:16 CET
Update to 10.73.07 uploaded and freeze push requested. Mga5 is taking longer.
Comment 4 Mike Rambo 2017-02-10 15:12:27 CET
Updated package uploaded for Mageia 5.

I did not find any past test procedures for this package but David Hodgins suggested on IRC that I use xfig or tuxpaint for my pre-testing. This may help QA also.

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

Version 10.73.07 fixes security vulnerabilities:

* Out-of-bounds write in writeRasterPbm() (CVE-2017-2581)
* Out-of-bounds read in expandCodeOntoStack() (CVE-2017-2579)
* Out-of-bounds write of heap data in addPixelToRaster() (CVE-2017-2580)
* Null pointer dereference in stringToUint (CVE-2017-2586)
* Insufficient size check of memory allocation in createCanvas() (CVE-2017-2587)


References:
http://openwall.com/lists/oss-security/2017/02/05/7
========================

Updated packages in core/updates_testing:
========================
lib64netpbm11-10.73.07-1.mga5
lib64netpbm-devel-10.73.07-1.mga5
netpbm-10.73.07-1.mga5
netpbm-debuginfo-10.73.07-1.mga5

from netpbm-10.73.07-1.mga5.src.rpm

Version: Cauldron => 5
Assignee: pkg-bugs => qa-bugs
Whiteboard: MGA5TOO => (none)

Dave Hodgins 2017-02-11 22:58:22 CET

CC: (none) => davidwhodgins
Whiteboard: (none) => advisory

Comment 5 Herman Viaene 2017-02-14 14:08:12 CET
MGA5-32 on Asus A6000VM Xfce
No installation issues.
Found no trace of netpbm in using xfig, but found info in netpbm website as to usage of its commands.
So, i created a small ppm graphic with xfig and then at CLI:
$ ppmtojpeg testnet.ppm > testnet.jpg
And found the jpg to have the correct graphics. ppmtojpeg being one of the programs of netpbm.

CC: (none) => herman.viaene
Whiteboard: advisory => advisory MGA5-32-OK

Comment 7 Dave Hodgins 2017-02-20 08:02:10 CET
Also used xfig to export a drawing as a ppm file, then used ppmtobmp to convert
it, using xv to view the result.

Validating the update

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

Comment 8 Mageia Robot 2017-02-20 14:01:13 CET
An update for this issue has been pushed to the Mageia Updates repository.

http://advisories.mageia.org/MGASA-2017-0058.html

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

David Walser 2017-02-21 11:54:20 CET

URL: (none) => https://lwn.net/Vulnerabilities/715042/


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