Use-after-free in frr - CVE-2022-37035
Published: September 13, 2022
Vulnerability details
The vulnerability allows a remote attacker to compromise vulnerable system.
The vulnerability exists due to a use-after-free error when processing BGP packets within the bgp_notify_send_with_data() and bgp_process_packet() function in bgp_packet.c. A remote attacker can send specially crafted BGP packets to the affected daemon, trigger a use-after-free error and execute arbitrary code on the system.
Successful exploitation of the vulnerability may allow an attacker to compromise vulnerable system.
Affected software
Enterprise SONiC
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE Enterprise Storage
SUSE Linux Enterprise Module for Server Applications
SUSE Linux Enterprise Server for SAP Applications
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Server
openSUSE Leap
Ubuntu
frr (Ubuntu package)
frr-debuginfo
libmlag_pb0-debuginfo
libmlag_pb0
libfrrzmq0-debuginfo
libfrrzmq0
libfrrsnmp0-debuginfo
libfrrsnmp0
libfrrospfapiclient0-debuginfo
libfrrospfapiclient0
libfrrgrpc_pb0-debuginfo
libfrrgrpc_pb0
libfrrfpm_pb0-debuginfo
libfrrfpm_pb0
libfrrcares0-debuginfo
libfrrcares0
libfrr_pb0-debuginfo
libfrr_pb0
libfrr0-debuginfo
libfrr0
frr-devel
frr-debugsource
frr
How to mitigate CVE-2022-37035
frr (Ubuntu package) - addressed in versions Ubuntu Pro, 8.1-1ubuntu1.2
Enterprise SONiC - update to 4.4.1
frr-debuginfo - update to 7.4-150300.4.10.1
libmlag_pb0-debuginfo - update to 7.4-150300.4.10.1
libmlag_pb0 - update to 7.4-150300.4.10.1
libfrrzmq0-debuginfo - update to 7.4-150300.4.10.1
libfrrzmq0 - update to 7.4-150300.4.10.1
libfrrsnmp0-debuginfo - update to 7.4-150300.4.10.1
libfrrsnmp0 - update to 7.4-150300.4.10.1
libfrrospfapiclient0-debuginfo - update to 7.4-150300.4.10.1
libfrrospfapiclient0 - update to 7.4-150300.4.10.1
libfrrgrpc_pb0-debuginfo - update to 7.4-150300.4.10.1
libfrrgrpc_pb0 - update to 7.4-150300.4.10.1
libfrrfpm_pb0-debuginfo - update to 7.4-150300.4.10.1
libfrrfpm_pb0 - update to 7.4-150300.4.10.1
libfrrcares0-debuginfo - update to 7.4-150300.4.10.1
libfrrcares0 - update to 7.4-150300.4.10.1
libfrr_pb0-debuginfo - update to 7.4-150300.4.10.1
libfrr_pb0 - update to 7.4-150300.4.10.1
libfrr0-debuginfo - update to 7.4-150300.4.10.1
libfrr0 - update to 7.4-150300.4.10.1
frr-devel - update to 7.4-150300.4.10.1
frr-debugsource - update to 7.4-150300.4.10.1
frr - update to 7.4-150300.4.10.1