REDHAT-BUG-1851145: Double Free
net-snmp before 5.8.1.pre1 has a double free in usmfreeusmStateReference 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/showbug.cgi?id=1663027
Upstream commit: https://github.com/net-snmp/net-snmp/commit/5f881d3bf24599b90d67a45cae7a3eb099cd71c9
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
net-snmpto a version that resolves this vulnerability.Fixed in 5.8.1.pre1
Event History
Frequently Asked Questions
What traffic is required to trigger this issue?
The flaw is triggered through an SNMPv3 GetBulk request. Systems that do not process SNMPv3 GetBulk requests are not identified as exposed by the available information.
Which releases are identified as affected?
The issue is described as affecting net-snmp before 5.8.1.pre1. It is specifically noted that packages shipped by multiple Linux distributions may be affected, while an upstream release might not be.
What is the likely impact of successful exploitation?
The reported defect is a double free in usm_free_usmStateReference in snmplib/snmpusm.c. The provided information does not specify whether exploitation results in a crash, code execution, or another outcome.