Gentoo Logo

Net-SNMP: Insecure RPATH


1.  Gentoo Linux Security Advisory

Version Information

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

Related bugreports: #103776


The Gentoo Net-SNMP package may provide Perl modules containing an insecure DT_RPATH, potentially allowing privilege escalation.

2.  Impact Information


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


James Cloos reported that Perl modules from the Net-SNMP package look for libraries in an untrusted location. This is due to a flaw in the Gentoo package, and not the Net-SNMP suite.


A local attacker (member of the portage group) may be able to create a shared object that would be loaded by the Net-SNMP Perl modules, executing arbitrary code with the privileges of the user invoking the Perl script.

3.  Resolution Information


Limit group portage access to trusted users.


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

Code Listing 3.1: Resolution

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

4.  References


Page updated September 06, 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.