Bug 2235839 (CVE-2023-41358)

Summary: CVE-2023-41358 frr: processes invalid NLRIs if attribute length is zero
Product: [Other] Security Response Reporter: Anten Skrabec <askrabec>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: fhrdina, mruprich
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: frr 9.1, frr 8.5-stable Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in FRRouting, where it is susceptible to a denial of service vulnerability triggered by a NULL pointer dereference issue during the processing of Network Layer Reachability Information (NLRIs) with a zero attribute length. The vulnerability arises from inadequate validation of user-supplied input in bgpd/bgp_packet.c when handling NLRIs. This flaw allows attackers to send specially crafted input, causing a crash that leads to a denial of service attack.
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: 2235845, 2235846, 2235847, 2235848, 2236309, 2236310, 2236464    
Bug Blocks: 2230985    

Description Anten Skrabec 2023-08-29 20:47:35 UTC
An issue was discovered in FRRouting FRR through 9.0. bgpd/bgp_packet.c processes NLRIs if the attribute length is zero.

https://github.com/FRRouting/frr/pull/14260

Comment 3 msiddiqu 2023-08-31 10:37:43 UTC
Created frr tracking bugs for this issue:

Affects: fedora-all [bug 2236464]

Comment 4 errata-xmlrpc 2024-04-30 09:42:01 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 5 errata-xmlrpc 2024-05-22 09:26:03 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