Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[ GLSA 200508-04 ] Netpbm: Arbitrary code execution in pstopnm
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index News & Announcements
View previous topic :: View next topic  
Author Message
GLSA
Veteran
Veteran


Joined: 12 May 2004
Posts: 1613

PostPosted: Fri Aug 05, 2005 11:04 am    Post subject: [ GLSA 200508-04 ] Netpbm: Arbitrary code execution in pstop Reply with quote

Gentoo Linux Security Advisory

Title: Netpbm: Arbitrary code execution in pstopnm (GLSA 200508-04)
Severity: normal
Exploitable: remote
Date: August 05, 2005
Updated: May 28, 2009
Bug(s): #100398
ID: 200508-04

Synopsis

The pstopnm utility, part of the Netpbm tools, contains a vulnerability which can potentially result in the execution of arbitrary code.

Background

Netpbm is a package of 220 graphics programs and a programming libraries, including pstopnm. pstopnm is a tool which converts PostScript files to PNM image files.

Affected Packages

Package: media-libs/netpbm
Vulnerable: < 10.28
Unaffected: >= 10.28
Unaffected: >= 10.26.32 < 10.26.33
Unaffected: >= 10.26.33 < 10.26.34
Unaffected: >= 10.26.42 < 10.26.43
Unaffected: >= 10.26.43 < 10.26.44
Unaffected: >= 10.26.44 < 10.26.45
Unaffected: >= 10.26.48 < 10.26.49
Unaffected: >= 10.26.49 < 10.26.50
Unaffected: >= 10.26.59 < 10.26.60
Unaffected: >= 10.26.61 < 10.26.62
Architectures: All supported architectures


Description

Max Vozeler reported that pstopnm calls the GhostScript interpreter on untrusted PostScript files without specifying the -dSAFER option, to convert a PostScript file into a PBM, PGM, or PNM file.

Impact

An attacker could craft a malicious PostScript file and entice a user to run pstopnm on it, resulting in the execution of arbitrary commands with the permissions of the user running pstopnm.

Workaround

There is no known workaround at this time.

Resolution

All Netpbm users should upgrade to the latest version:
Code:
# emerge --sync
# emerge --ask --oneshot --verbose media-libs/netpbm


References

CAN-2005-2471
Secunia Advisory SA16184


Last edited by GLSA on Fri May 29, 2009 4:16 am; edited 5 times in total
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index News & Announcements All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum