Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/osrg/gobgp/v3
  4. ›
  5. CVE-2025-43972

CVE-2025-43972: GoBGP crashes in the flowspec parser

April 21, 2025

An issue was discovered in GoBGP before 3.35.0. An attacker can cause a crash in the pkg/packet/bgp/bgp.go flowspec parser by sending fewer than 20 bytes in a certain context.

References

  • github.com/advisories/GHSA-mfvv-mgf6-q25r
  • github.com/osrg/gobgp
  • github.com/osrg/gobgp/commit/ca7383f450f7b296c5389feceef2467de5ab6e5a
  • github.com/osrg/gobgp/compare/v3.34.0...v3.35.0
  • nvd.nist.gov/vuln/detail/CVE-2025-43972

Code Behaviors & Features

Detect and mitigate CVE-2025-43972 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.35.0

Fixed versions

  • 3.35.0

Solution

Upgrade to version 3.35.0 or above.

Impact 6.8 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:H

Learn more about CVSS

Weakness

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

Source file

go/github.com/osrg/gobgp/v3/CVE-2025-43972.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:10 +0000.