Bug 1222528 (CVE-2024-31951)

Summary: VUL-0: CVE-2024-31951: frr,quagga: buffer overflow in ospf_te_parse_ext_link
Product: [Novell Products] SUSE Security Incidents Reporter: SMASH SMASH <smash_bz>
Component: IncidentsAssignee: Security Team bot <security-team>
Status: RESOLVED FIXED QA Contact: Security Team bot <security-team>
Severity: Major    
Priority: P3 - Medium CC: mt, stefan.fent, stoyan.manolov, thomas.leroy
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/400635/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-31951:8.1:(AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H)
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description SMASH SMASH 2024-04-09 10:00:44 UTC
In the Opaque LSA Extended Link parser in FRRouting (FRR) through 9.1, there can be a buffer overflow and daemon crash in ospf_te_parse_ext_link for OSPF LSA packets during an attempt to read Segment Routing Adjacency SID subTLVs (lengths are not validated).

References:
https://github.com/FRRouting/frr/pull/15674/
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-31951
https://www.cve.org/CVERecord?id=CVE-2024-31951
https://github.com/FRRouting/frr/pull/15674/commits/344fb4be2bc27316c74b17003c05ea40be395836
https://bugzilla.redhat.com/show_bug.cgi?id=2273999
Comment 1 Thomas Leroy 2024-04-09 10:04:38 UTC
Upstream fix is not merged yet.

Tracking frr only as affected:
- SUSE:SLE-15-SP5:Update/frr
- openSUSe:Factory/frr

SUSE:SLE-15-SP3:Update/frr is not affected.
Comment 7 Maintenance Automation 2024-06-10 20:30:01 UTC
SUSE-SU-2024:1971-1: An update that solves three vulnerabilities can now be installed.

Category: security (important)
Bug References: 1222526, 1222528, 1223786
CVE References: CVE-2024-31950, CVE-2024-31951, CVE-2024-34088
Maintenance Incident: [SUSE:Maintenance:34170](https://smelt.suse.de/incident/34170/)
Sources used:
openSUSE Leap 15.5 (src):
 frr-8.4-150500.4.23.1
openSUSE Leap 15.6 (src):
 frr-8.4-150500.4.23.1
Server Applications Module 15-SP5 (src):
 frr-8.4-150500.4.23.1
Server Applications Module 15-SP6 (src):
 frr-8.4-150500.4.23.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 8 Andrea Mattiazzo 2024-06-11 10:14:42 UTC
All done, closing.