CVE Catalog

CVE-2004-2300

High
Published: Translated: NVD NIST

Summary

Buffer overflow in snmpd in ucd-snmp 4.2.6 and earlier, when installed setuid root, allows local users to execute arbitrary code via a long -p command line argument. NOTE: it is not clear whether there are any standard configurations in which snmpd is installed setuid or setgid. If not, then this issue should not be included in CVE.

Risk Assessment

If snmpd is configured with setuid root, a local attacker can escalate privileges and execute arbitrary code on the system.

Recommendation

Check if snmpd in your configuration is running with setuid or setgid bit. If so, remove the bit and update the software to the latest version.

Related vulnerabilities

Original NVD description (English source)

Buffer overflow in snmpd in ucd-snmp 4.2.6 and earlier, when installed setuid root, allows local users to execute arbitrary code via a long -p command line argument. NOTE: it is not clear whether there are any standard configurations in which snmpd is installed setuid or setgid. If not, then this issue should not be included in CVE.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS