{"answers":{"affected":"2 open source packages ship an affected version, including golang and stdlib.","exploited":"There is no known exploitation of CVE-2024-24783 in the wild and no public exploit code.","fix":"Upgrade golang to a fixed version for your release line: 1.21.8 or 1.22.1.","what":"CVE-2024-24783 is a medium-severity vulnerability in Go standard library crypto/x509, published on 5 Mar 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-24783 and fix it if it is affected.\n\nWhat it is: CVE-2024-24783 is a medium-severity vulnerability in Go standard library crypto/x509, published on 5 Mar 2024. 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-2024-24783 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- golang (Bitnami): affected all versions; fixed in 1.21.8, 1.22.1\n- stdlib (Go): affected all versions; fixed in 1.21.8, 1.22.1\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-2024-24783/ (Markdown: https://insights.sbomify.com/CVE-2024-24783/index.md)","id":"CVE-2024-24783","markdown":"https://insights.sbomify.com/CVE-2024-24783/index.md","name":"CVE-2024-24783","record":{"aliases":["ALSA-2024:6186","ALSA-2024:6187","ALSA-2024:6188","ALSA-2024:6189","ALSA-2024:6195","AZL-37320","AZL-37522","AZL-78968","AZL-98877","BELL-CVE-2024-24783","BIT-golang-2024-24783","DEBIAN-CVE-2024-24783","GHSA-3q2c-pvp5-3cqp","GO-2024-2598","MINI-22q8-cj9p-q2g7","MINI-prw9-86qx-cvq9","MINI-v85f-p45p-wmh8","RHSA-2024:6186","RHSA-2024:6187","RHSA-2024:6188","RHSA-2024:6189","RHSA-2024:6195","UBUNTU-CVE-2024-24783"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":true,"product_category":"Go standard library","requires_auth":"none","summary":"A remote attacker can cause a denial of service by sending a certificate with an unknown public key algorithm to a Go TLS client or server configured to verify client certificates.","user_interaction":"not_required","vuln_class":"null_dereference"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Go","cpe":[],"cvss":{"score":5.9,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-476","name":"NULL Pointer Dereference"}],"description":"Verifying a certificate chain which contains a certificate with an unknown public key algorithm will cause Certificate.Verify to panic. This affects all crypto/tls clients, and servers that set Config.ClientAuth to VerifyClientCertIfGiven or RequireAndVerifyClientCert. The default behavior is for TLS servers to not verify client certificates.","ecosystems":["AlmaLinux:9","Bitnami","Go","Red Hat:enterprise_linux:9::appstream"],"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":"Verify panics on certificates with an unknown public key algorithm in crypto/x509","id":"CVE-2024-24783","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"null_dereference","year":"2024"},"n_packages":27,"n_references":6,"next":{"headline":"Comments in display names are incorrectly handled in net/mail","id":"CVE-2024-24784"},"packages":[{"ecosystem":"Bitnami","fixed":["1.21.8","1.22.1"],"introduced":["0","1.22.0-0"],"last_affected":[],"package":"golang","purl":"pkg:bitnami/golang","source":"BIT-golang-2024-24783"},{"ecosystem":"Go","fixed":["1.21.8","1.22.1"],"introduced":["0","1.22.0-0"],"last_affected":[],"package":"stdlib","purl":"pkg:golang/stdlib","source":"GO-2024-2598"},{"ecosystem":"AlmaLinux:9","fixed":["2:1.33.7-4.el9_4"],"introduced":["0"],"last_affected":[],"package":"buildah","purl":"pkg:rpm/almalinux/buildah","source":"ALSA-2024:6189"},{"ecosystem":"AlmaLinux:9","fixed":["2:1.33.7-4.el9_4"],"introduced":["0"],"last_affected":[],"package":"buildah-tests","purl":"pkg:rpm/almalinux/buildah-tests","source":"ALSA-2024:6189"},{"ecosystem":"AlmaLinux:9","fixed":["1:1.4.0-5.el9_4"],"introduced":["0"],"last_affected":[],"package":"containernetworking-plugins","purl":"pkg:rpm/almalinux/containernetworking-plugins","source":"ALSA-2024:6186"},{"ecosystem":"AlmaLinux:9","fixed":["6:0.7.3-5.el9_4.alma.1"],"introduced":["0"],"last_affected":[],"package":"gvisor-tap-vsock","purl":"pkg:rpm/almalinux/gvisor-tap-vsock","source":"ALSA-2024:6187"},{"ecosystem":"AlmaLinux:9","fixed":["4:1.1.12-4.el9_4"],"introduced":["0"],"last_affected":[],"package":"runc","purl":"pkg:rpm/almalinux/runc","source":"ALSA-2024:6188"},{"ecosystem":"AlmaLinux:9","fixed":["2:1.14.5-1.el9_4"],"introduced":["0"],"last_affected":[],"package":"skopeo","purl":"pkg:rpm/almalinux/skopeo","source":"ALSA-2024:6195"},{"ecosystem":"AlmaLinux:9","fixed":["2:1.14.5-1.el9_4"],"introduced":["0"],"last_affected":[],"package":"skopeo-tests","purl":"pkg:rpm/almalinux/skopeo-tests","source":"ALSA-2024:6195"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["2:1.33.7-4.el9_4"],"introduced":["0"],"last_affected":[],"package":"buildah","purl":"pkg:rpm/redhat/buildah","source":"RHSA-2024:6189"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["2:1.33.7-4.el9_4"],"introduced":["0"],"last_affected":[],"package":"buildah-debuginfo","purl":"pkg:rpm/redhat/buildah-debuginfo","source":"RHSA-2024:6189"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["2:1.33.7-4.el9_4"],"introduced":["0"],"last_affected":[],"package":"buildah-debugsource","purl":"pkg:rpm/redhat/buildah-debugsource","source":"RHSA-2024:6189"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["2:1.33.7-4.el9_4"],"introduced":["0"],"last_affected":[],"package":"buildah-tests","purl":"pkg:rpm/redhat/buildah-tests","source":"RHSA-2024:6189"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["2:1.33.7-4.el9_4"],"introduced":["0"],"last_affected":[],"package":"buildah-tests-debuginfo","purl":"pkg:rpm/redhat/buildah-tests-debuginfo","source":"RHSA-2024:6189"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["1:1.4.0-5.el9_4"],"introduced":["0"],"last_affected":[],"package":"containernetworking-plugins","purl":"pkg:rpm/redhat/containernetworking-plugins","source":"RHSA-2024:6186"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["1:1.4.0-5.el9_4"],"introduced":["0"],"last_affected":[],"package":"containernetworking-plugins-debuginfo","purl":"pkg:rpm/redhat/containernetworking-plugins-debuginfo","source":"RHSA-2024:6186"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["1:1.4.0-5.el9_4"],"introduced":["0"],"last_affected":[],"package":"containernetworking-plugins-debugsource","purl":"pkg:rpm/redhat/containernetworking-plugins-debugsource","source":"RHSA-2024:6186"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["6:0.7.3-5.el9_4"],"introduced":["0"],"last_affected":[],"package":"gvisor-tap-vsock","purl":"pkg:rpm/redhat/gvisor-tap-vsock","source":"RHSA-2024:6187"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["6:0.7.3-5.el9_4"],"introduced":["0"],"last_affected":[],"package":"gvisor-tap-vsock-debuginfo","purl":"pkg:rpm/redhat/gvisor-tap-vsock-debuginfo","source":"RHSA-2024:6187"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["6:0.7.3-5.el9_4"],"introduced":["0"],"last_affected":[],"package":"gvisor-tap-vsock-debugsource","purl":"pkg:rpm/redhat/gvisor-tap-vsock-debugsource","source":"RHSA-2024:6187"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["4:1.1.12-4.el9_4"],"introduced":["0"],"last_affected":[],"package":"runc","purl":"pkg:rpm/redhat/runc","source":"RHSA-2024:6188"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["4:1.1.12-4.el9_4"],"introduced":["0"],"last_affected":[],"package":"runc-debuginfo","purl":"pkg:rpm/redhat/runc-debuginfo","source":"RHSA-2024:6188"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["4:1.1.12-4.el9_4"],"introduced":["0"],"last_affected":[],"package":"runc-debugsource","purl":"pkg:rpm/redhat/runc-debugsource","source":"RHSA-2024:6188"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["2:1.14.5-1.el9_4"],"introduced":["0"],"last_affected":[],"package":"skopeo","purl":"pkg:rpm/redhat/skopeo","source":"RHSA-2024:6195"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["2:1.14.5-1.el9_4"],"introduced":["0"],"last_affected":[],"package":"skopeo-debuginfo","purl":"pkg:rpm/redhat/skopeo-debuginfo","source":"RHSA-2024:6195"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["2:1.14.5-1.el9_4"],"introduced":["0"],"last_affected":[],"package":"skopeo-debugsource","purl":"pkg:rpm/redhat/skopeo-debugsource","source":"RHSA-2024:6195"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["2:1.14.5-1.el9_4"],"introduced":["0"],"last_affected":[],"package":"skopeo-tests","purl":"pkg:rpm/redhat/skopeo-tests","source":"RHSA-2024:6195"}],"prev":{"headline":"HIMA: Origin Validation Error in multiple products","id":"CVE-2024-24782"},"products":["crypto/x509"],"published":"2024-03-05","related":[],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"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":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"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-02-13","vendors":["Go standard library"]},"summary":"A remote attacker can cause a denial of service by sending a certificate with an unknown public key algorithm to a Go TLS client or server configured to verify client certificates.","url":"https://insights.sbomify.com/CVE-2024-24783/"}