Cloudanix VulnDB

CVE-2023-46565

High · 7.5

CVSS

7.5

EPSS

0.7%

Published

Apr 29, 2024

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A flaw in routing software allows remote attackers to crash the system by sending bad data, interrupting network operations.

Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Low
Impact
Denial Of Service
Component
Network Service
Class
Buffer Overflow
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

A remote attacker can trigger a buffer overflow in the handlingError function by sending specially crafted input, resulting in a denial of service.

Why it matters to the business

Disrupts BGP routing services, potentially causing network instability and downtime for organizations relying on this software.

How an attack unfolds

An attacker sends malicious network packets to the gobgp server, exploiting the buffer overflow in the FSM error handling logic to crash the process.

How to fix it

Update to a patched version of gobgp that addresses the buffer overflow in pkg/server/fsm.go.

How to confirm the fix worked

Verify the software version and test the handlingError function with known inputs or monitor for crashes.

Typical attack path

  1. Identify exposed gobgp instance
  2. Craft and send malicious BGP messages
  3. Trigger handlingError function
  4. Cause buffer overflow leading to crash

How to detect it

Look for crashes or error logs in gobgp related to handlingError, unusual network connections to the BGP port.

What your security team should do

  • Apply available patches promptly
  • Monitor network traffic for anomalous BGP packets
  • Implement network segmentation to limit exposure

The record

Buffer Overflow vulnerability in osrg gobgp commit 419c50dfac578daa4d11256904d0dc182f1a9b22 allows a remote attacker to cause a denial of service via the handlingError function in pkg/server/fsm.go.

Affected packages

Ecosystem Package Introduced Fixed
Go github.com/osrg/gobgp/v3 0 3.20.0
Go github.com/osrg/gobgp/v3 0 No fix
Chainguard cilium-1.14 0 1.14.19-r34
Chainguard cilium-1.14-clustermesh-apiserver 0 1.14.19-r34
Chainguard cilium-1.14-container-init 0 1.14.19-r34
Chainguard cilium-1.14-container-init-compat 0 1.14.19-r34
Chainguard cilium-1.14-hubble-relay 0 1.14.19-r34
Chainguard cilium-1.14-iptables 0 1.14.19-r34
Chainguard cilium-1.14-operator-aws 0 1.14.19-r34
Chainguard cilium-1.14-operator-generic 0 1.14.19-r34
Debian:11 gobgp 0 No fix
Debian:12 gobgp 0 No fix
Debian:13 gobgp 0 No fix
Ubuntu:20.04:LTS gobgp 0 No fix
Ubuntu:22.04:LTS gobgp 0 No fix
Ubuntu:24.04:LTS gobgp 0 No fix
Ubuntu:24.10 gobgp 0 No fix
Ubuntu:Pro:18.04:LTS gobgp 0 No fix
Ubuntu:Pro:20.04:LTS gobgp 0 2.12.0-1ubuntu0.1~esm2
Ubuntu:Pro:22.04:LTS gobgp 0 2.25.0-3ubuntu0.1+esm2
Wolfi cilium-1.14 0 1.14.19-r34
Wolfi cilium-1.14-container-init 0 1.14.19-r34
Wolfi cilium-1.14-container-init-compat 0 1.14.19-r34
Wolfi cilium-1.14-hubble-relay 0 1.14.19-r34
Wolfi cilium-1.14-iptables 0 1.14.19-r34
Wolfi cilium-1.14-operator-generic 0 1.14.19-r34
openSUSE:Tumbleweed lxd 0 5.21.1-2.1

Related vulnerabilities