Gentoo Logo

Netpbm: Multiple temporary file issues


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200410-02 / Netpbm
Release Date October 04, 2004
Latest Revision October 04, 2004: 01
Impact normal
Exploitable local
Package Vulnerable versions Unaffected versions Architecture(s)
media-libs/netpbm <= 9.12-r4 >= 10.0 All supported architectures

Related bugreports: #65647


Utilities included in old Netpbm versions are vulnerable to multiple temporary files issues, potentially allowing a local attacker to overwrite files with the rights of the user running the utility.

2.  Impact Information


Netpbm is a toolkit containing more than 200 separate utilities for manipulation and conversion of graphic images.


Utilities contained in the Netpbm package prior to the 9.25 version contain defects in temporary file handling. They create temporary files with predictable names without checking first that the target file doesn't already exist.


A local attacker could create symbolic links in the temporary files directory, pointing to a valid file somewhere on the filesystem. When a user or a tool calls one of the affected utilities, this would result in file overwriting with the rights of the user running the utility.

3.  Resolution Information


There is no known workaround at this time.


All Netpbm users should upgrade to an unaffected version:

Code Listing 3.1: Resolution

# emerge sync
# emerge -pv ">=media-libs/netpbm-10.0"
# emerge ">=media-libs/netpbm-10.0"

4.  References


Page updated October 04, 2004

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2015 Gentoo Foundation, Inc. Questions, Comments? Contact us.