Skip to content
OpenAdvisories
Medium · 6.8 CVE-2025-43973 EUVD-2025-12347GHSA-c5jg-wr5v-2wp2GO-2025-3633

GoBGP does not verify that 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/rtr/rtr.go does not verify that the input length corresponds to a situation in which all bytes are available for an RTR message.

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-c5jg-wr5v-2wp2
Go github.com/osrg/gobgp/v3 < 3.35.0 3.35.0 GHSA-c5jg-wr5v-2wp2

Advisories 2

References