Bug 2237416 (CVE-2023-41909)

Summary: CVE-2023-41909 frr: NULL pointer dereference in bgp_nlri_parse_flowspec() in bgpd/bgp_flowspec.c
Product: [Other] Security Response Reporter: Avinash Hanwate <ahanwate>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: frr 9.0 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in frr. Processing a malformed request with no attributes may cause a NULL pointer dereference, 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: 2238409    
Bug Blocks: 2237417    

Description Avinash Hanwate 2023-09-05 12:09:13 UTC
An issue was discovered in FRRouting FRR through 9.0. bgp_nlri_parse_flowspec in bgpd/bgp_flowspec.c processes malformed requests with no attributes, leading to a NULL pointer dereference.

Reference and upstream patch:
https://github.com/FRRouting/frr/pull/13222/commits/cfd04dcb3e689754a72507d086ba3b9709fc5ed8

Comment 2 Guilherme de Almeida Suckevicz 2023-09-11 17:43:09 UTC
Created frr tracking bugs for this issue:

Affects: fedora-all [bug 2238409]

Comment 3 errata-xmlrpc 2024-04-30 09:42:04 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2024:2156 https://access.redhat.com/errata/RHSA-2024:2156

Comment 4 errata-xmlrpc 2024-05-22 09:26:04 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2024:2981 https://access.redhat.com/errata/RHSA-2024:2981