CVE-2019-20892

NameCVE-2019-20892
Descriptionnet-snmp before 5.8.1.pre1 has a double free in usm_free_usmStateReference in snmplib/snmpusm.c via an SNMPv3 GetBulk request. NOTE: this affects net-snmp packages shipped to end users by multiple Linux distributions, but might not affect an upstream release.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs963713

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
net-snmp (PTS)jessie, jessie (lts)5.7.2.1+dfsg-1+deb8u6fixed
stretch (security)5.7.3+dfsg-1.7+deb9u3fixed
stretch (lts), stretch5.7.3+dfsg-1.7+deb9u5fixed
buster (security), buster, buster (lts)5.7.3+dfsg-5+deb10u4fixed
bullseye (security), bullseye5.9+dfsg-4+deb11u1fixed
bookworm5.9.3+dfsg-2fixed
sid, trixie5.9.4+dfsg-1.1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
net-snmpsourcewheezy(unfixed)end-of-life
net-snmpsourcejessie(not affected)
net-snmpsourcestretch(not affected)
net-snmpsourcebuster(not affected)
net-snmpsource(unstable)5.8+dfsg-3963713

Notes

[buster] - net-snmp <not-affected> (Vulnerable code introduced later)
[stretch] - net-snmp <not-affected> (Vulnerable code introduced later)
https://www.openwall.com/lists/oss-security/2020/06/25/4
https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1877027
https://github.com/net-snmp/net-snmp/commit/92ccd5a82a019fbfa835cc8ab2294cf0ca48c8f2
https://github.com/net-snmp/net-snmp/commit/adc9b71aba9168ec64149345ea37a1acc11875c6
https://github.com/net-snmp/net-snmp/commit/7384a8b550d4ed4a00e41b72229cfcc124926b06
https://github.com/net-snmp/net-snmp/commit/39381c4d20dd8042870c28ae3b0c16291e50b705
https://github.com/net-snmp/net-snmp/commit/5f881d3bf24599b90d67a45cae7a3eb099cd71c9
https://github.com/net-snmp/net-snmp/commit/87bd90d04f20dd3f73e3e7e631a442ccd419b9d3
Extra patches to address memory leaks:
https://salsa.debian.org/debian/net-snmp/-/merge_requests/3
Introduced in https://github.com/net-snmp/net-snmp/compare/1a0dbe19bf2787bb5bea913f210a9a5eb4c0c80c...e207b8113260fd7d84df0ebdb66925ab70da29b2 (5.8-dev)
[jessie] - net-snmp <not-affected> (Vulnerable code introduced later)

Search for package or bug name: Reporting problems