Skip to content
OpenAdvisories
Medium · 4.3 CVE-2025-43970 EUVD-2025-12350GHSA-hqhq-hp5x-xp3wGO-2025-3630

GoBGP does not properly check the input length

Published Apr 21, 2025 · Updated Apr 21, 2025 · Assigned by mitre

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).

Affected products

VendorProductAffectedFixed
GoBGP GoBGP < 3.35.0 3.35.0

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 gobgp 3.35.0-1 —
Debian 13 gobgp 3.35.0-1 —
Debian 12 gobgp No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS gobgp 3.23.0-1ubuntu0.3+esm2 USN-7661-1
Ubuntu Pro 22.04 LTS gobgp 2.25.0-3ubuntu0.1+esm2 USN-7661-1
Ubuntu Pro 20.04 LTS gobgp 2.12.0-1ubuntu0.1~esm2 USN-7661-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS gobgp 1.29-1ubuntu0.1+esm1 USN-7661-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed govulncheck-vulndb 0.0.20250422T181640-1.1 openSUSE-SU-2025:15017-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/osrg/gobgp all versions — GHSA-hqhq-hp5x-xp3w
Go github.com/osrg/gobgp/v3 < 3.35.0 3.35.0 GHSA-hqhq-hp5x-xp3w

Advisories 2

References