GLSA 200508-04: Netpbm: Arbitrary code execution in pstopnm
Severity: | normal |
Title: | Netpbm: Arbitrary code execution in pstopnm |
Date: | 08/05/2005 |
Bugs: |
|
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 | Vulnerable | Unaffected | Architecture(s) |
---|---|---|---|
media-libs/netpbm | < 10.28 | >= 10.28 | 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:
# emerge --sync # emerge --ask --oneshot --verbose media-libs/netpbm
References
Availability
This GLSA and any updates to it are available for viewing at the Gentoo Security Website:
Concerns?
Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.
License
Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.