Input validation error in frr - CVE-2023-41358

 

Input validation error in frr - CVE-2023-41358

Published: October 3, 2023


Vulnerability identifier: #VU81444
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-2023-41358
CWE-ID: CWE-20
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 insufficient validation of user-supplied input in bgpd/bgp_packet.c when handling NLRIs. A remote attacker can send specially crafted input to the application and perform a denial of service (DoS) attack.


Affected software

frr
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Software Development Kit 12
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise High Performance Computing 12
SUSE CaaS Platform
SUSE Manager Retail Branch Server
SUSE Manager Server
SUSE Manager Proxy
SUSE Enterprise Storage
Red Hat Enterprise Linux for ARM 64
Anolis OS
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
SUSE Linux Enterprise Server 15 SP1 LTSS
SUSE Linux Enterprise High Performance Computing 15 SP1 LTSS
SUSE Linux Enterprise Server 15 SP2 LTSS
SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS
SUSE Linux Enterprise Server 15 SP3 LTSS
Server Applications Module
openSUSE Leap
Ubuntu
Fedora
quagga (Ubuntu package)
frr (Ubuntu package)
quagga-debugsource
libzebra1
libquagga_pb0
libospfapiclient0
libzebra1-debuginfo
quagga
libospf0
libospfapiclient0-debuginfo
libquagga_pb0-debuginfo
libospf0-debuginfo
quagga-debuginfo
quagga-devel
libfpm_pb0
libfpm_pb0-debuginfo
frr
libfrrzmq0
libfrrzmq0-debuginfo
libmlag_pb0-debuginfo
libfrr0
libfrrgrpc_pb0-debuginfo
libfrrsnmp0
frr-debugsource
libfrr_pb0
libfrrospfapiclient0-debuginfo
libfrrospfapiclient0
libfrrgrpc_pb0
libfrrcares0-debuginfo
frr-debuginfo
libmlag_pb0
libfrrfpm_pb0
libfrrfpm_pb0-debuginfo
frr-devel
libfrrcares0
libfrr_pb0-debuginfo
libfrr0-debuginfo
libfrrsnmp0-debuginfo
frr-doc
frr-selinux
frr (Red Hat package)
Red Hat OpenShift Container Platform

How to mitigate CVE-2023-41358

Install updates from vendor's website.

frr - addressed in versions 8.5.3, 9.0.1
quagga (Ubuntu package) - addressed in versions 0.99.24.1-2ubuntu1.4+esm1, 1.2.4-1ubuntu0.1~esm1, 1.2.4-4ubuntu0.1
frr (Ubuntu package) - addressed in versions Ubuntu Pro, 8.1-1ubuntu1.6, 8.4.2-1ubuntu1.4
quagga-debugsource - addressed in versions 1.1.1-17.10.1, 1.1.1-150000.4.3.1, 1.1.1-150400.12.5.1
libzebra1 - addressed in versions 1.1.1-17.10.1, 1.1.1-150000.4.3.1, 1.1.1-150400.12.5.1
libquagga_pb0 - addressed in versions 1.1.1-17.10.1, 1.1.1-150000.4.3.1, 1.1.1-150400.12.5.1
libospfapiclient0 - addressed in versions 1.1.1-17.10.1, 1.1.1-150000.4.3.1, 1.1.1-150400.12.5.1
libzebra1-debuginfo - addressed in versions 1.1.1-17.10.1, 1.1.1-150000.4.3.1, 1.1.1-150400.12.5.1
quagga - addressed in versions 1.1.1-17.10.1, 1.1.1-150000.4.3.1, 1.1.1-150400.12.5.1
libospf0 - addressed in versions 1.1.1-17.10.1, 1.1.1-150000.4.3.1, 1.1.1-150400.12.5.1
libospfapiclient0-debuginfo - addressed in versions 1.1.1-17.10.1, 1.1.1-150000.4.3.1, 1.1.1-150400.12.5.1
libquagga_pb0-debuginfo - addressed in versions 1.1.1-17.10.1, 1.1.1-150000.4.3.1, 1.1.1-150400.12.5.1
libospf0-debuginfo - addressed in versions 1.1.1-17.10.1, 1.1.1-150000.4.3.1, 1.1.1-150400.12.5.1
quagga-debuginfo - addressed in versions 1.1.1-17.10.1, 1.1.1-150000.4.3.1, 1.1.1-150400.12.5.1
quagga-devel - addressed in versions 1.1.1-17.10.1, 1.1.1-150000.4.3.1, 1.1.1-150400.12.5.1
libfpm_pb0 - addressed in versions 1.1.1-150000.4.3.1, 1.1.1-150400.12.5.1
libfpm_pb0-debuginfo - addressed in versions 1.1.1-150000.4.3.1, 1.1.1-150400.12.5.1
frr - addressed in versions 7.4-150300.4.17.1, 8.4-150500.4.8.1, 8.5.6-150500.4.30.1
libfrrzmq0 - addressed in versions 7.4-150300.4.17.1, 8.4-150500.4.8.1, 8.5.6-150500.4.30.1
libfrrzmq0-debuginfo - addressed in versions 7.4-150300.4.17.1, 8.4-150500.4.8.1, 8.5.6-150500.4.30.1
libmlag_pb0-debuginfo - addressed in versions 7.4-150300.4.17.1, 8.4-150500.4.8.1, 8.5.6-150500.4.30.1
libfrr0 - addressed in versions 7.4-150300.4.17.1, 8.4-150500.4.8.1, 8.5.6-150500.4.30.1
libfrrgrpc_pb0-debuginfo - update to 7.4-150300.4.17.1
libfrrsnmp0 - addressed in versions 7.4-150300.4.17.1, 8.4-150500.4.8.1, 8.5.6-150500.4.30.1
frr-debugsource - addressed in versions 7.4-150300.4.17.1, 8.4-150500.4.8.1, 8.5.6-150500.4.30.1
libfrr_pb0 - addressed in versions 7.4-150300.4.17.1, 8.4-150500.4.8.1, 8.5.6-150500.4.30.1
libfrrospfapiclient0-debuginfo - addressed in versions 7.4-150300.4.17.1, 8.4-150500.4.8.1, 8.5.6-150500.4.30.1
libfrrospfapiclient0 - addressed in versions 7.4-150300.4.17.1, 8.4-150500.4.8.1, 8.5.6-150500.4.30.1
libfrrgrpc_pb0 - update to 7.4-150300.4.17.1
libfrrcares0-debuginfo - addressed in versions 7.4-150300.4.17.1, 8.4-150500.4.8.1, 8.5.6-150500.4.30.1
frr-debuginfo - addressed in versions 7.4-150300.4.17.1, 8.4-150500.4.8.1, 8.5.6-150500.4.30.1
libmlag_pb0 - addressed in versions 7.4-150300.4.17.1, 8.4-150500.4.8.1, 8.5.6-150500.4.30.1
libfrrfpm_pb0 - addressed in versions 7.4-150300.4.17.1, 8.4-150500.4.8.1, 8.5.6-150500.4.30.1
libfrrfpm_pb0-debuginfo - addressed in versions 7.4-150300.4.17.1, 8.4-150500.4.8.1, 8.5.6-150500.4.30.1
frr-devel - addressed in versions 7.4-150300.4.17.1, 8.4-150500.4.8.1, 8.5.6-150500.4.30.1
libfrrcares0 - addressed in versions 7.4-150300.4.17.1, 8.4-150500.4.8.1, 8.5.6-150500.4.30.1
libfrr_pb0-debuginfo - addressed in versions 7.4-150300.4.17.1, 8.4-150500.4.8.1, 8.5.6-150500.4.30.1
libfrr0-debuginfo - addressed in versions 7.4-150300.4.17.1, 8.4-150500.4.8.1, 8.5.6-150500.4.30.1
libfrrsnmp0-debuginfo - addressed in versions 7.4-150300.4.17.1, 8.4-150500.4.8.1, 8.5.6-150500.4.30.1
frr - update to 7.5.1-16.0.4
frr-doc - update to 7.5.1-16.0.4
frr-selinux - update to 7.5.1-16.0.4
frr (Red Hat package) - addressed in versions 7.5.1-22.el8, 8.5.3-4.el9
frr - addressed in versions 8.5.3-1.fc37, 8.5.3-1.fc38, 8.5.3-1.fc39
Red Hat OpenShift Container Platform - update to 4.17.0

External References

Related Security Bulletins