Buffer overflow in frr - CVE-2024-31948

 

Buffer overflow in frr - CVE-2024-31948

Published: June 3, 2024


Vulnerability identifier: #VU90721
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-31948
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a boundary error when parsing Prefix SID attribute in a BGP UPDATE packet. A remote attacker can send specially crafted packets to the application, trigger memory corruption and crash the bgpd daemon.


Affected software

frr
Enterprise SONiC
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise Real Time 15
SUSE Manager Retail Branch Server
SUSE Manager Server
SUSE Manager Proxy
SUSE Enterprise Storage
SUSE Linux Enterprise Server 15 SP3 LTSS
SUSE Linux Enterprise Server 15 SP4 LTSS
Server Applications Module
openSUSE Leap
Ubuntu
Fedora
frr (Ubuntu package)
libfrr_pb0-debuginfo
libfrrsnmp0-debuginfo
frr
libfrrzmq0
libfrrcares0
libfrr_pb0
libfrrgrpc_pb0
libfrrfpm_pb0
libmlag_pb0-debuginfo
libfrrsnmp0
frr-debuginfo
libfrrospfapiclient0-debuginfo
libfrrfpm_pb0-debuginfo
libfrr0
libfrr0-debuginfo
libmlag_pb0
libfrrospfapiclient0
frr-devel
libfrrcares0-debuginfo
libfrrgrpc_pb0-debuginfo
libfrrzmq0-debuginfo
frr-debugsource

How to mitigate CVE-2024-31948

Install updates from vendor's website.

frr (Ubuntu package) - addressed in versions Ubuntu Pro, 8.1-1ubuntu1.10, 8.4.4-1.1ubuntu1.4, 8.4.4-1.1ubuntu6.1
Enterprise SONiC - update to 4.4.1
libfrr_pb0-debuginfo - addressed in versions 7.4-150300.4.23.1, 8.4-150500.4.20.1, 8.5.6-150500.4.30.1
libfrrsnmp0-debuginfo - addressed in versions 7.4-150300.4.23.1, 8.4-150500.4.20.1, 8.5.6-150500.4.30.1
frr - addressed in versions 7.4-150300.4.23.1, 8.4-150500.4.20.1, 8.5.6-150500.4.30.1
libfrrzmq0 - addressed in versions 7.4-150300.4.23.1, 8.4-150500.4.20.1, 8.5.6-150500.4.30.1
libfrrcares0 - addressed in versions 7.4-150300.4.23.1, 8.4-150500.4.20.1, 8.5.6-150500.4.30.1
libfrr_pb0 - addressed in versions 7.4-150300.4.23.1, 8.4-150500.4.20.1, 8.5.6-150500.4.30.1
libfrrgrpc_pb0 - update to 7.4-150300.4.23.1
libfrrfpm_pb0 - addressed in versions 7.4-150300.4.23.1, 8.4-150500.4.20.1, 8.5.6-150500.4.30.1
libmlag_pb0-debuginfo - addressed in versions 7.4-150300.4.23.1, 8.4-150500.4.20.1, 8.5.6-150500.4.30.1
libfrrsnmp0 - addressed in versions 7.4-150300.4.23.1, 8.4-150500.4.20.1, 8.5.6-150500.4.30.1
frr-debuginfo - addressed in versions 7.4-150300.4.23.1, 8.4-150500.4.20.1, 8.5.6-150500.4.30.1
libfrrospfapiclient0-debuginfo - addressed in versions 7.4-150300.4.23.1, 8.4-150500.4.20.1, 8.5.6-150500.4.30.1
libfrrfpm_pb0-debuginfo - addressed in versions 7.4-150300.4.23.1, 8.4-150500.4.20.1, 8.5.6-150500.4.30.1
libfrr0 - addressed in versions 7.4-150300.4.23.1, 8.4-150500.4.20.1, 8.5.6-150500.4.30.1
libfrr0-debuginfo - addressed in versions 7.4-150300.4.23.1, 8.4-150500.4.20.1, 8.5.6-150500.4.30.1
libmlag_pb0 - addressed in versions 7.4-150300.4.23.1, 8.4-150500.4.20.1, 8.5.6-150500.4.30.1
libfrrospfapiclient0 - addressed in versions 7.4-150300.4.23.1, 8.4-150500.4.20.1, 8.5.6-150500.4.30.1
frr-devel - addressed in versions 7.4-150300.4.23.1, 8.4-150500.4.20.1, 8.5.6-150500.4.30.1
libfrrcares0-debuginfo - addressed in versions 7.4-150300.4.23.1, 8.4-150500.4.20.1, 8.5.6-150500.4.30.1
libfrrgrpc_pb0-debuginfo - update to 7.4-150300.4.23.1
libfrrzmq0-debuginfo - addressed in versions 7.4-150300.4.23.1, 8.4-150500.4.20.1, 8.5.6-150500.4.30.1
frr-debugsource - addressed in versions 7.4-150300.4.23.1, 8.4-150500.4.20.1, 8.5.6-150500.4.30.1
frr - update to 8.5.5-1.fc39

External References

Related Security Bulletins