Bug 2118615 (CVE-2022-37035)

Summary: CVE-2022-37035 frr: use-after-free bug due to race conditions in two threads
Product: [Other] Security Response Reporter: TEJ RATHI <trathi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: mruprich, tkorbar, zpytela
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 flaw was found in bgpd in FRRouting (FRR). There is a possible use-after-free issue due to a race condition in bgp_notify_send_with_data() and bgp_process_packet() in bgp_packet.c. This issue can lead to remote code execution or information disclosure by sending crafted BGP packets.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-09-02 15:55:49 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: 2118616    
Bug Blocks: 2114659    

Description TEJ RATHI 2022-08-16 09:30:02 UTC
An issue was discovered in bgpd in FRRouting (FRR) 8.3. In bgp_notify_send_with_data() and bgp_process_packet() in bgp_packet.c, there is a possible use-after-free due to a race condition. This could lead to Remote Code Execution or Information Disclosure by sending crafted BGP packets. User interaction is not needed for exploitation.

https://docs.google.com/document/d/1TqYEcZbFeDTMKe2N4XRFwyAjw_mynIHfvzwbx1fmJj8/edit?usp=sharing
https://github.com/FRRouting/frr/issues/11698

Comment 1 TEJ RATHI 2022-08-16 09:30:21 UTC
Created frr tracking bugs for this issue:

Affects: fedora-all [bug 2118616]

Comment 2 Product Security DevOps Team 2022-09-02 15:55:47 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-37035