{"answers":{"affected":"6 open source packages ship an affected version, including github.com/osrg/gobgp and github.com/osrg/gobgp/v3. It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-43972 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2025-43972 is a medium-severity denial of service vulnerability in GoBGP, published on 21 Apr 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-43972 and fix it if it is affected.\n\nWhat it is: CVE-2025-43972 is a medium-severity denial of service vulnerability in GoBGP, published on 21 Apr 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-43972 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/osrg/gobgp (Go): affected all versions; no fix listed\n- github.com/osrg/gobgp (Go): affected all versions; no fix listed\n- github.com/osrg/gobgp (Go): affected all versions; no fix listed\n- github.com/osrg/gobgp/v3 (Go): affected all versions; fixed in 3.35.0\n- github.com/osrg/gobgp/v3 (Go): affected all versions; fixed in 3.35.0\n- github.com/osrg/gobgp/v3 (Go): affected all versions; fixed in 3.35.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-43972/ (Markdown: https://insights.sbomify.com/CVE-2025-43972/index.md)","id":"CVE-2025-43972","markdown":"https://insights.sbomify.com/CVE-2025-43972/index.md","name":"CVE-2025-43972","record":{"aliases":["DEBIAN-CVE-2025-43972","GHSA-mfvv-mgf6-q25r","GO-2025-3632","MINI-7698-wf85-26f6","MINI-x7v9-629g-g696","UBUNTU-CVE-2025-43972"],"analysis":{"component_type":"network_device","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"BGP routing software","requires_auth":"none","summary":"An attacker can crash the GoBGP BGP router by sending malformed FlowSpec packets, causing a denial of service.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"gobgp","vendor":"osrg"}],"cvss":{"score":6.8,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-1284","name":"Improper Validation of Specified Quantity in Input"}],"description":"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"GoBGP crashes in the flowspec parser","id":"CVE-2025-43972","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"denial_of_service","year":"2025"},"n_packages":6,"n_references":2,"next":{"headline":"GoBGP does not verify that the input length","id":"CVE-2025-43973"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/osrg/gobgp","purl":null,"source":"GHSA-mfvv-mgf6-q25r"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/osrg/gobgp","purl":"pkg:golang/github.com/osrg/gobgp","source":"GHSA-mfvv-mgf6-q25r"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/osrg/gobgp","purl":"pkg:golang/github.com/osrg/gobgp","source":"GO-2025-3632"},{"ecosystem":"Go","fixed":["3.35.0"],"introduced":["0"],"last_affected":[],"package":"github.com/osrg/gobgp/v3","purl":null,"source":"GHSA-mfvv-mgf6-q25r"},{"ecosystem":"Go","fixed":["3.35.0"],"introduced":["0"],"last_affected":[],"package":"github.com/osrg/gobgp/v3","purl":"pkg:golang/github.com/osrg/gobgp/v3","source":"GHSA-mfvv-mgf6-q25r"},{"ecosystem":"Go","fixed":["3.35.0"],"introduced":["0"],"last_affected":[],"package":"github.com/osrg/gobgp/v3","purl":"pkg:golang/github.com/osrg/gobgp/v3","source":"GO-2025-3632"}],"prev":{"headline":"GoBGP panics due to a zero value for softwareVersionLen","id":"CVE-2025-43971"},"products":["GoBGP"],"published":"2025-04-21","related":[{"cvss_score":8.6,"headline":"GoBGP panics due to a zero value for softwareVersionLen","id":"CVE-2025-43971","kev_date_added":null,"published":"2025-04-21"},{"cvss_score":7.5,"headline":"GoBGP: Remote Denial of Service (Panic) via Malformed Well-known Path Attribute","id":"CVE-2026-41642","kev_date_added":null,"published":"2026-05-07"},{"cvss_score":7.5,"headline":"GoBGP: Remote Denial of Service (Panic) in UpdatePathAttrs4ByteAs via Malformed BGP UPDATE","id":"CVE-2026-41643","kev_date_added":null,"published":"2026-05-07"},{"cvss_score":7.5,"headline":"GoBGP: Panic in AdjRib.Update via malformed BGP Update message (Nil Pointer Dereference)","id":"CVE-2026-42285","kev_date_added":null,"published":"2026-05-07"},{"cvss_score":7.5,"headline":"GoBGP has an out-of-bounds read in the ParseIP6Extended function","id":"CVE-2026-37461","kev_date_added":null,"published":"2026-05-04"},{"cvss_score":7.5,"headline":"GoBGP vulnerable to a denial of service via the NEXT_HOP path attribute","id":"CVE-2026-30405","kev_date_added":null,"published":"2026-03-16"},{"cvss_score":6.9,"headline":"osrg GoBGP SRv6 L3 Service prefix_sid.go SRv6L3ServiceAttribute.DecodeFromBytes denial of service","id":"CVE-2026-7734","kev_date_added":null,"published":"2026-05-04"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-04-21","vendors":["GoBGP"]},"summary":"An attacker can crash the GoBGP BGP router by sending malformed FlowSpec packets, causing a denial of service.","url":"https://insights.sbomify.com/CVE-2025-43972/"}