GitHub Advisoryadvisory · Go

GHSA-c5jg-wr5v-2wp2 GoBGP does not verify that the input length

MEDIUM Published 2025-04-21 Modified 2025-04-21 Official page ↗
Aliases
CVE-2025-43973
Ecosystem
Go
Packages
github.com/osrg/gobgp, github.com/osrg/gobgp/v3
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:H
Weaknesses
CWE-193
Reviewed
2025-04-21

Affected packages

• Go github.com/osrg/gobgp: < 3.35.0 (no fix yet) • Go github.com/osrg/gobgp/v3: < 3.35.0 → fixed in 3.35.0

Description

An issue was discovered in GoBGP before 3.35.0. pkg/packet/rtr/rtr.go does not verify that the input length corresponds to a situation in which all bytes are available for an RTR message.

Related

Alias · CVE (1)

  • CVE-2025-43973 An issue was discovered in GoBGP before 3.35.0. vulnerability

Weakness · CWE (1)

  • CWE-193 Off-by-one Error weakness

References