{"answers":{"affected":"2 open source packages ship an affected version, including golang and stdlib.","exploited":"There is no known exploitation of CVE-2025-22865 in the wild and no public exploit code.","fix":"Upgrade golang to 1.24.0-rc.2 or later.","what":"CVE-2025-22865 is a high-severity denial of service vulnerability in Go standard library crypto/x509, published on 28 Jan 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-22865 and fix it if it is affected.\n\nWhat it is: CVE-2025-22865 is a high-severity denial of service vulnerability in Go standard library crypto/x509, published on 28 Jan 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-22865 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- golang (Bitnami): affected from 1.24.0-0; fixed in 1.24.0-rc.2\n- stdlib (Go): affected from 1.24.0-0; fixed in 1.24.0-rc.2\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-22865/ (Markdown: https://insights.sbomify.com/CVE-2025-22865/index.md)","id":"CVE-2025-22865","markdown":"https://insights.sbomify.com/CVE-2025-22865/index.md","name":"CVE-2025-22865","record":{"aliases":["BIT-golang-2025-22865","DEBIAN-CVE-2025-22865","ECHO-633d-3526-5d52","GHSA-v7qx-rccr-23xm","GO-2025-3421","UBUNTU-CVE-2025-22865"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Go standard library","requires_auth":"none","summary":"An attacker can cause a denial of service by providing a malformed RSA private key to the Go crypto/x509 package, triggering a panic.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Go","cpe":[],"cvss":{"score":7.5,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[],"description":"Using ParsePKCS1PrivateKey to parse a RSA key that is missing the CRT values would panic when verifying that the key is well formed.","ecosystems":["Bitnami","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":"ParsePKCS1PrivateKey panic with partial keys in crypto/x509","id":"CVE-2025-22865","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"denial_of_service","year":"2025"},"n_packages":2,"n_references":4,"next":{"headline":"Timing sidechannel for P-256 on ppc64le in crypto/internal/nistec","id":"CVE-2025-22866"},"packages":[{"ecosystem":"Bitnami","fixed":["1.24.0-rc.2"],"introduced":["1.24.0-0"],"last_affected":[],"package":"golang","purl":"pkg:bitnami/golang","source":"BIT-golang-2025-22865"},{"ecosystem":"Go","fixed":["1.24.0-rc.2"],"introduced":["1.24.0-0"],"last_affected":[],"package":"stdlib","purl":"pkg:golang/stdlib","source":"GO-2025-3421"}],"prev":{"headline":"Not used","id":"CVE-2025-22864"},"products":["crypto/x509"],"published":"2025-01-28","related":[],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-01-30","vendors":["Go standard library"]},"summary":"An attacker can cause a denial of service by providing a malformed RSA private key to the Go crypto/x509 package, triggering a panic.","url":"https://insights.sbomify.com/CVE-2025-22865/"}