{"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-43970 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2025-43970 is a medium-severity denial of service vulnerability in GoBGP, published on 21 Apr 2025. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-43970 and fix it if it is affected.\n\nWhat it is: CVE-2025-43970 is a medium-severity denial of service vulnerability in GoBGP, published on 21 Apr 2025. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-43970 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-43970/ (Markdown: https://insights.sbomify.com/CVE-2025-43970/index.md)","id":"CVE-2025-43970","markdown":"https://insights.sbomify.com/CVE-2025-43970/index.md","name":"CVE-2025-43970","record":{"aliases":["CLEANSTART-2025-IS89195","DEBIAN-CVE-2025-43970","GHSA-hqhq-hp5x-xp3w","GO-2025-3630","MINI-3572-83g8-85f4","MINI-4pp7-mq35-pq2j","UBUNTU-CVE-2025-43970"],"analysis":{"component_type":"network_device","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"BGP routing software","requires_auth":"none","summary":"Attackers can cause a denial of service in GoBGP by sending malformed MRT packets with incorrect length fields.","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":4.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L","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. 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).","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 does not properly check the input length","id":"CVE-2025-43970","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 panics due to a zero value for softwareVersionLen","id":"CVE-2025-43971"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/osrg/gobgp","purl":null,"source":"GHSA-hqhq-hp5x-xp3w"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/osrg/gobgp","purl":"pkg:golang/github.com/osrg/gobgp","source":"GHSA-hqhq-hp5x-xp3w"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/osrg/gobgp","purl":"pkg:golang/github.com/osrg/gobgp","source":"GO-2025-3630"},{"ecosystem":"Go","fixed":["3.35.0"],"introduced":["0"],"last_affected":[],"package":"github.com/osrg/gobgp/v3","purl":null,"source":"GHSA-hqhq-hp5x-xp3w"},{"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-hqhq-hp5x-xp3w"},{"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-3630"}],"prev":{"headline":"Null dereference in libheif","id":"CVE-2025-43967"},"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":"Attackers can cause a denial of service in GoBGP by sending malformed MRT packets with incorrect length fields.","url":"https://insights.sbomify.com/CVE-2025-43970/"}