{"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-43973 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2025-43973 is a medium-severity 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-43973 and fix it if it is affected.\n\nWhat it is: CVE-2025-43973 is a medium-severity 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-43973 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-43973/ (Markdown: https://insights.sbomify.com/CVE-2025-43973/index.md)","id":"CVE-2025-43973","markdown":"https://insights.sbomify.com/CVE-2025-43973/index.md","name":"CVE-2025-43973","record":{"aliases":["DEBIAN-CVE-2025-43973","GHSA-c5jg-wr5v-2wp2","GO-2025-3633","MINI-5cf3-xmpx-gm8q","MINI-rqpm-f8m4-6pq8","UBUNTU-CVE-2025-43973"],"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 cause a denial of service in GoBGP by sending malformed RTR messages that trigger an integer overflow due to missing length verification.","user_interaction":"not_required","vuln_class":"integer_overflow"},"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-193","name":"Off-by-one Error"}],"description":"An issue was discovered in GoBGP before 3.35.0. pkg/packet/rtr/rtr.go does not verify that the input length corresponds to a situation in which all bytes are available for an RTR message.","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 verify that the input length","id":"CVE-2025-43973","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"integer_overflow","year":"2025"},"n_packages":6,"n_references":2,"next":{"headline":"Missing authorization in n/a","id":"CVE-2025-43976"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/osrg/gobgp","purl":null,"source":"GHSA-c5jg-wr5v-2wp2"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/osrg/gobgp","purl":"pkg:golang/github.com/osrg/gobgp","source":"GHSA-c5jg-wr5v-2wp2"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/osrg/gobgp","purl":"pkg:golang/github.com/osrg/gobgp","source":"GO-2025-3633"},{"ecosystem":"Go","fixed":["3.35.0"],"introduced":["0"],"last_affected":[],"package":"github.com/osrg/gobgp/v3","purl":null,"source":"GHSA-c5jg-wr5v-2wp2"},{"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-c5jg-wr5v-2wp2"},{"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-3633"}],"prev":{"headline":"GoBGP crashes in the flowspec parser","id":"CVE-2025-43972"},"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 cause a denial of service in GoBGP by sending malformed RTR messages that trigger an integer overflow due to missing length verification.","url":"https://insights.sbomify.com/CVE-2025-43973/"}