Bug 2184468 (CVE-2022-36440)

Summary: CVE-2022-36440 frr: Reachable assertion in peek_for_as4_capability function
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: mruprich
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 reachable assertion flaw was found in Frrouting frr-bgpd in the peek_for_as4_capability function. This flaw allows an attacker to maliciously construct BGP open packets and send them to BGP peers running frr-bgpd, resulting in a denial of service.
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: 2184469, 2184869, 2184870    
Bug Blocks: 2184470    

Description Pedro Sampaio 2023-04-04 19:18:51 UTC
A reachable assertion was found in Frrouting frr-bgpd 8.3.0 in the peek_for_as4_capability function. Attackers can maliciously construct BGP open packets and send them to BGP peers running frr-bgpd, resulting in DoS.

https://github.com/spwpun/pocs/blob/main/frr-bgpd.md
https://github.com/spwpun/pocs
https://github.com/FRRouting/frr/issues/13202

Comment 1 Pedro Sampaio 2023-04-04 19:19:05 UTC
Created frr tracking bugs for this issue:

Affects: fedora-all [bug 2184469]

Comment 4 errata-xmlrpc 2023-11-07 08:16:39 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

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