Improper Validation of Specified Quantity in Input Affecting gobgp package, versions <3.35.0-1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.02% (5th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIANUNSTABLE-GOBGP-9788797
  • published22 Apr 2025
  • disclosed21 Apr 2025

Introduced: 21 Apr 2025

CVE-2025-43970  (opens in a new tab)
CWE-1284  (opens in a new tab)

How to fix?

Upgrade Debian:unstable gobgp to version 3.35.0-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream gobgp package and not the gobgp package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

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

CVSS Base Scores

version 3.1