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 code/issues, web search, more)
ReferencesDLA-2299-1, DSA-4746-1
NVD severityhigh
Debian Bugs965166

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
net-snmp (PTS)stretch5.7.3+dfsg-1.7+deb9u1vulnerable
stretch (security)5.7.3+dfsg-1.7+deb9u3fixed
buster (security)5.7.3+dfsg-5+deb10u1fixed
bookworm, sid, bullseye5.9+dfsg-3fixed

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