CVE-2023-46565 Buffer Overflow vulnerability in osrg gobgp

High 7.5 Published Updated

A remote attacker can cause a denial of service in GoBGP via a buffer overflow in the handlingError function.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-46565?

CVE-2023-46565 is a high-severity memory corruption vulnerability in n/a, published on 29 Apr 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-120

Which versions are affected by CVE-2023-46565?

3 open source packages ship an affected version, including github.com/osrg/gobgp/v3.

PackageAffectedFixed in
github.com/osrg/gobgp/v3 GoAll versions to 3.20.0None
github.com/osrg/gobgp/v3 GoAll versions to 3.20.0None
github.com/osrg/gobgp/v3 GoAll versions3.20.0
Linux distribution packages (1)
lxd openSUSE:TumbleweedAll versions5.21.1-2.1

How do I fix CVE-2023-46565?

Upgrade github.com/osrg/gobgp/v3 to 3.20.0 or later.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2023-46565 being exploited?

There is no known exploitation of CVE-2023-46565 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2023-46565, GHSA-6rqv-5cg7-m4x3, GO-2024-3124, UBUNTU-CVE-2023-46565, openSUSE-SU-2024:14564-1.

Is CVE-2023-46565 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free