Bug 1851145 (CVE-2019-20892)

Summary: CVE-2019-20892 net-snmp: double free in usm_free_usmStateReference function in snmplib/snmpusm.c via an SNMPv3 GetBulk request
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: jridky, jsafrane, mhjacks, zdohnal
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1802055, 1851150, 1882249, 1910626    
Bug Blocks: 1851146    

Description Guilherme de Almeida Suckevicz 2020-06-25 16:46:10 UTC
net-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.

References:
https://sourceforge.net/p/net-snmp/bugs/2923/
https://bugzilla.redhat.com/show_bug.cgi?id=1663027

Upstream commit:
https://github.com/net-snmp/net-snmp/commit/5f881d3bf24599b90d67a45cae7a3eb099cd71c9

Comment 1 Guilherme de Almeida Suckevicz 2020-06-25 16:47:41 UTC
Created net-snmp tracking bugs for this issue:

Affects: fedora-all [bug 1851150]

Comment 2 Huzaifa S. Sidhpurwala 2020-07-06 04:08:54 UTC
This issue has been addressed in Red Hat Enterprise Linux 8 via:

https://access.redhat.com/errata/RHBA-2020:1376