Net-SNMP creates temporary files in an insecure manner, possibly allowing the execution of arbitrary code.
Package | net-analyzer/net-snmp on all architectures |
---|---|
Affected versions | < 5.2.1-r1 |
Unaffected versions | >= 5.2.1-r1 |
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.
There is no known workaround at this time.
All Net-SNMP users should upgrade to the latest available version:
# emerge --sync # emerge --ask --oneshot --verbose ">=net-analyzer/net-snmp-5.2.1-r1"
Release date
May 23, 2005
Latest revision
May 22, 2006: 02
Severity
normal
Exploitable
local
Bugzilla entries