# CVE-2023-46565: GO-2024-3124 - Buffer Overflow vulnerability in osrg gobgp in github.com/osrg/gobgp

Source: https://junglewise.ai/threats/cve-2023-46565-buffer-overflow-vulnerability-in-osrg-gobgp  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-09-17  
License: CC BY 4.0 with a link back

CVE-2023-46565 · Severity: low · CVSS 3.1 · Published 2024-09-17

Buffer Overflow vulnerability in osrg gobgp in github.com/osrg/gobgp

Technologies: [github.com/osrg/gobgp/v3 (Go)](https://junglewise.ai/threats/technologies/github-com-osrg-gobgp-v3). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is CVE-2023-46565 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2023-46565 being exploited in the wild.

**How severe is CVE-2023-46565?** Low severity, with a CVSS score of 3.1, published 17 September 2024.

**Which products and versions are affected?** github.com/osrg/gobgp/v3 (Go) SEMVER:introduced=0,fixed=3.20.0, SEMVER:introduced=0,last_affected=3.20.0.

**Is there a fix for CVE-2023-46565?** Yes. github.com/osrg/gobgp/v3 (Go): upgrade to 3.20.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2023-46565?** Check whether you run github.com/osrg/gobgp/v3 (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/osrg/gobgp/v3 (Go): upgrade to 3.20.0 or later

  ```sh
  go get github.com/osrg/gobgp/v3@v3.20.0
  ```


## Affected products

- github.com/osrg/gobgp/v3 (Go) SEMVER:introduced=0,fixed=3.20.0, SEMVER:introduced=0,last_affected=3.20.0

## Identifiers

- CVE-2023-46565
- GHSA-6rqv-5cg7-m4x3
- GO-2024-3124

## Related threats

- [GoBGP vulnerable to a denial of service via the NEXT_HOP path attribute](https://junglewise.ai/threats/cve-2026-30405-gobgp-vulnerable-to-a-denial-of-service-via-the-next-hop-path)
- [GO-2025-3632 - GoBGP crashes in the flowspec parser in github.com/osrg/gobgp](https://junglewise.ai/threats/cve-2025-43972-gobgp-crashes-in-the-flowspec-parser)
- [GO-2025-3633 - GoBGP does not verify that the input length in github.com/osrg/gobgp](https://junglewise.ai/threats/cve-2025-43973-gobgp-does-not-verify-that-the-input-length)
- [GO-2025-3630 - GoBGP does not properly check the input length in github.com/osrg/gobgp](https://junglewise.ai/threats/cve-2025-43970-gobgp-does-not-properly-check-the-input-length)
- [GO-2025-3631 - GoBGP panics due to a zero value for softwareVersionLen in github.com/osrg/gobgp](https://junglewise.ai/threats/cve-2025-43971-gobgp-panics-due-to-a-zero-value-for-softwareversionlen)
