DescriptionNet-SNMP through 5.7.3 has Improper Privilege Management because SNMP WRITE access to the EXTEND MIB provides the ability to run arbitrary commands as root.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub advisories/code/issues, web search, more)
ReferencesDLA-2299-1, DSA-4746-1
Debian Bugs965166

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
net-snmp (PTS)buster5.7.3+dfsg-5+deb10u2fixed
buster (security)5.7.3+dfsg-5+deb10u4fixed
bullseye, bullseye (security)5.9+dfsg-4+deb11u1fixed
bookworm, sid5.9.3+dfsg-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs


The commit
disables NET-SNMP-EXTEND-MIB support by default. But it is still
possible to enable the MIB via --with-mib-modules configure option.
Upstream reverted the change and the solution is to make NET-SNMP-EXTEND-MIB
read-only, cf.
Disabling was reverted with:
Makes extended mib read-only:

Search for package or bug name: Reporting problems