Gentoo Logo

Net-SNMP: fixproc insecure temporary file creation


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200505-18 / net-snmp
Release Date May 23, 2005
Latest Revision May 22, 2006: 02
Impact normal
Exploitable local
Package Vulnerable versions Unaffected versions Architecture(s)
net-analyzer/net-snmp < 5.2.1-r1 >= 5.2.1-r1 All supported architectures

Related bugreports: #91792


Net-SNMP creates temporary files in an insecure manner, possibly allowing the execution of arbitrary code.

2.  Impact Information


Net-SNMP is a suite of applications used to implement the Simple Network Management Protocol.


The fixproc application of Net-SNMP creates temporary files with predictable filenames.


A malicious local attacker could exploit a race condition to change the content of the temporary files before they are executed by fixproc, possibly leading to the execution of arbitrary code. A local attacker could also create symbolic links in the temporary files directory, pointing to a valid file somewhere on the filesystem. When fixproc is executed, this would result in the file being overwritten.

3.  Resolution Information


There is no known workaround at this time.


All Net-SNMP users should upgrade to the latest available version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=net-analyzer/net-snmp-5.2.1-r1"

4.  References


Page updated May 23, 2005

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.