GitHub Advisoryadvisory · Go

GHSA-hqhq-hp5x-xp3w GoBGP does not properly check the input length

MEDIUM Published 2025-04-21 Modified 2025-04-21 Official page ↗
Aliases
CVE-2025-43970
Ecosystem
Go
Packages
github.com/osrg/gobgp, github.com/osrg/gobgp/v3
Severity
Moderate
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L
Weaknesses
CWE-1284
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/mrt/mrt.go does not properly check the input length, e.g., by ensuring that there are 12 bytes or 36 bytes (depending on the address family).

Related

Alias · CVE (1)

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

Weakness · CWE (1)

  • CWE-1284 Improper Validation of Specified Quantity in Input weakness

References