Improper Validation of Specified Quantity in Input Affecting github.com/osrg/gobgp/pkg/packet/mrt package, versions <3.35.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.02% (4th 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-GOLANG-GITHUBCOMOSRGGOBGPPKGPACKETMRT-9788134
  • published21 Apr 2025
  • disclosed21 Apr 2025
  • creditUnknown

Introduced: 21 Apr 2025

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

How to fix?

Upgrade github.com/osrg/gobgp/pkg/packet/mrt to version 3.35.0 or higher.

Overview

Affected versions of this package are vulnerable to Improper Validation of Specified Quantity in Input in the decodeFromBytes() function for MRT BGP4MPHeaders in mrt.go. A local attacker can cause unexpected behavior by sending malicious packets.

CVSS Base Scores

version 4.0
version 3.1