Bug 2141897 (CVE-2022-44792)

Summary: CVE-2022-44792 net-snmp: NULL Pointer Exception when handling ipDefaultTTL
Product: [Other] Security Response Reporter: Sandipan Roy <saroy>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: jridky, kyoshida
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in Net-SNMP. This issue occurs because the handle_ipDefaultTTL function in agent/mibgroup/ip-mib/ip_scalars.c in Net-SNMP has a NULL Pointer Exception flaw that allows a remote attacker (who has to write access) to cause the instance to crash via a crafted UDP packet, resulting in a denial of service.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-16 16:36:11 UTC 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: 2141899, 2141900, 2141901, 2141902    
Bug Blocks: 2141107    

Description Sandipan Roy 2022-11-11 04:18:54 UTC
handle_ipDefaultTTL in agent/mibgroup/ip-mib/ip_scalars.c in Net-SNMP 5.8 through 5.9.3 has a NULL Pointer Exception bug that can be used by a remote attacker (who has write access) to cause the instance to crash via a crafted UDP packet, resulting in Denial of Service.

https://github.com/net-snmp/net-snmp/issues/474
https://gist.github.com/menglong2234/b7bc13ae1a144f47cc3c95a7ea062428

Comment 1 Sandipan Roy 2022-11-11 04:25:48 UTC
Created net-snmp tracking bugs for this issue:

Affects: fedora-35 [bug 2141899]
Affects: fedora-36 [bug 2141900]

Comment 4 errata-xmlrpc 2023-05-09 07:48:42 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2023:2444 https://access.redhat.com/errata/RHSA-2023:2444

Comment 5 errata-xmlrpc 2023-05-16 08:36:21 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2023:2969 https://access.redhat.com/errata/RHSA-2023:2969

Comment 6 Product Security DevOps Team 2023-05-16 16:36:08 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2022-44792