CVE-2024-24783 json
Verify panics on certificates with an unknown public key algorithm in crypto/x509
published 2024-03-05 2 y ago modified 2026-06-17 4 mo ago also BIT-golang-2024-24783 , EUVD-2024-22161 , GO-2024-2598
- cvss
- 5.9
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 52%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- bitnami golang 1.21.8, 1.22.1
- go stdlib 1.21.8, 1.22.1
- Go standard library crypto/x509 1.21.8, 1.22.1
- golang-1.17 Ubuntu 22.04 LTS 1.17.13-3ubuntu1.3
- golang-1.18 Ubuntu 20.04 LTS 1.18.1-1ubuntu1~20.04.3
- golang-1.18 Ubuntu 22.04 LTS 1.18.1-1ubuntu1.2
- golang-1.21 Ubuntu 20.04 LTS 1.21.1-1~ubuntu20.04.3
- golang-1.21 Ubuntu 22.04 LTS 1.21.1-1~ubuntu22.04.3
- golang-1.18 Ubuntu Pro 16.04 LTS 1.18.1-1ubuntu1~16.04.6+esm1
- golang-1.18 Ubuntu Pro 18.04 LTS 1.18.1-1ubuntu1~18.04.4+esm1
ubuntu advisories UBUNTU-CVE-2024-24783
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- crit RHEL 8 3.18-5.module+el8.10.0+22283+6d6d094a
- criu RHEL 8 3.18-5.module+el8.10.0+22283+6d6d094a
- crun RHEL 8 1.14.3-2.module+el8.10.0+22283+6d6d094a
- runc RHEL 8 1:1.1.12-4.module+el8.10.0+22283+6d6d094a
- udica RHEL 8 0.2.6-21.module+el8.10.0+22283+6d6d094a
- conmon RHEL 8 3:2.1.10-1.module+el8.10.0+22283+6d6d094a
- podman RHEL 8 4:4.9.4-13.module+el8.10.0+22283+6d6d094a
- skopeo RHEL 8 2:1.14.5-3.module+el8.10.0+22283+6d6d094a
red hat advisories RHSA-2024:6969RHSA-2024:3259RHSA-2024:5258RHSA-2024:4125RHSA-2024:4893RHSA-2024:4023
- go1.22-openssl SLE Module for Development Tools 15 SP6, openSUSE Leap 15.6 1.22.7.1-150600.13.3.1
- go1.22-openssl SLE Module for Development Tools 15 SP5, openSUSE Leap 15.5 1.22.7.1-150000.1.3.1
- go1.21-openssl SLE Module for Development Tools 15 SP6, openSUSE Leap 15.6 1.21.13.1-150600.16.3.1
- go1.21-openssl SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE Module for Development Tools 15 SP5 +3 more 1.21.13.1-150000.1.11.1
- go1.22 SLE Software Development Kit 12 SP5 1.22.1-1.3.1
- go1.22 SLE Module for Development Tools 15 SP5, openSUSE Leap 15.5 1.22.1-150000.1.9.1
- go1.21 SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE Module for Development Tools 15 SP5 +3 more 1.21.8-150000.1.27.1
- go1.21 SLE Software Development Kit 12 SP5 1.21.8-1.27.1
suse advisories SUSE-SU-2024:3938-1SUSE-SU-2024:3772-1SUSE-SU-2024:3755-1SUSE-SU-2024:3089-1SUSE-SU-2024:0936-1SUSE-SU-2024:0812-1
- go1.22 openSUSE Tumbleweed 1.22.1-1.1
- go1.21 openSUSE Tumbleweed 1.21.8-1.1
opensuse advisories openSUSE-SU-2024:13752-1openSUSE-SU-2024:13756-1
- crit AlmaLinux 8 3.18-5.module_el8.10.0+3876+e55593a8
- crit AlmaLinux 8 3.18-5.module_el8.10.0+3845+87b84552
- crit AlmaLinux 8 3.18-5.module_el8.10.0+3858+6ad51f9f
- criu AlmaLinux 8 3.18-5.module_el8.10.0+3876+e55593a8
- criu AlmaLinux 8 3.18-5.module_el8.10.0+3845+87b84552
- crun AlmaLinux 8 1.14.3-2.module_el8.10.0+3858+6ad51f9f
- crun AlmaLinux 8 1.14.3-2.module_el8.10.0+3876+e55593a8
- runc AlmaLinux 8 1:1.1.12-4.module_el8.10.0+3876+e55593a8
almalinux advisories ALSA-2024:6969ALSA-2024:6186ALSA-2024:6187ALSA-2024:6188ALSA-2024:6189ALSA-2024:6194
- criu Rocky Linux 8 3.18-5.module+el8.10.0+1815+5fe7415e
- criu Rocky Linux 8 3.18-5.module+el8.10.0+1825+623b0c20
- criu Rocky Linux 8 3.18-5.module+el8.10.0+1843+6892ab28
- criu Rocky Linux 8 3.18-5.module+el8.10.0+1872+2e18eb19
- criu Rocky Linux 8 3.18-5.module+el8.10.0+1874+ce489889
- criu Rocky Linux 8 3.18-5.module+el8.10.0+1880+8e896d1b
- criu Rocky Linux 8 3.18-5.module+el8.10.0+1896+b18fa106
- criu Rocky Linux 8 3.18-5.module+el8.10.0+1948+4b5cd4a9
rocky linux advisories RLSA-2024:6969RLSA-2024:5258RLSA-2024:3259RLSA-2024:3346RLSA-2024:2562RLSA-2024:2724
- go Alpine 3.19 1.21.8-r0
- go Alpine 3.24, Alpine 3.23, Alpine 3.22 +2 more 1.22.1-r0
alpine advisories ALPINE-CVE-2024-24783
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- go.dev/cl/569339 patch
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-24783 updated cvss 5.9
golang: crypto/x509: Verify panics on certificates with an unknown public key algorithm
-
Red Hat Cost Management Metrics Operator costmanagement/costmanagement-metrics-rhel8-operatoraffected: workaround, no fix available
-
Red Hat Fence Agents Remediation Operator workload-availability/fence-agents-remediation-rhel8-operatoraffected: workaround, no fix planned “Will not fix”
-
Red Hat Machine Deletion Remediation Operator workload-availability/machine-deletion-remediation-rhel8-operatoraffected: workaround, no fix available
-
Red Hat Migration Toolkit for Applications 6 mta/mta-hub-rhel8affected: workaround, no fix planned “Will not fix”
-
Red Hat mirror registry for Red Hat OpenShift mirror-registry-containeraffected: workaround, no fix available
-
Red Hat Multicluster Engine for Kubernetes multicluster-engine/hive-rhel8 Red Hat NBDE Tang Server tang-operator-container Red Hat Node HealthCheck Operator workload-availability/node-healthcheck-rhel8-operator Red Hat Node Maintenance Operator workload-availability/node-maintenance-rhel8-operatoraffected: workaround, no fix planned “Will not fix”
-
Red Hat OpenShift Developer Tools and Services helm, ocp-tools-4/jenkins-rhel8affected: workaround, no fix available, no fix planned “Will not fix”
-
Red Hat OpenShift Pipelines openshift-pipelines-client Red Hat OpenShift Source-to-Image (S2I) source-to-image-container Red Hat Power monitoring for Red Hat OpenShift kepler-container Red Hat 3scale API Management Platform 2 3scale-amp26/3scale-operator Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/subctl-rhel9affected: workaround, no fix available
show 17 moreshow fewer
-
Red Hat Advanced Cluster Security 3 advanced-cluster-security/rhacs-main-rhel8affected: workaround, no fix planned “Out of support scope”
-
Red Hat Ansible Automation Platform 2 aap-cloud-ui-containeraffected: workaround, no fix planned “Will not fix”
-
Red Hat Ceph Storage 5 rhceph/rhceph-5-dashboard-rhel8affected: workaround, no fix planned “Out of support scope”
-
Red Hat Ceph Storage 6 rhceph/rhceph-6-dashboard-rhel9affected: workaround, no fix planned “Will not fix”
-
Red Hat Ceph Storage 7 rhceph/grafana-rhel9affected: workaround, no fix available
-
Red Hat Certification for Red Hat Enterprise Linux 8 redhat-certification-preflight Red Hat Certification Program for Red Hat Enterprise Linux 9 redhat-certification-preflightaffected: workaround, no fix planned “Will not fix”
-
Red Hat Enterprise Linux 8 grafana, toolbox, grafana-loki, weldr-client, grafana-mssql, grafana-mysql, +15 more Red Hat Enterprise Linux 9 butane, grafana, ignition, weldr-client, ignition-edge, ignition-grub, +6 more Red Hat OpenShift Container Platform 4 butane, ignition, ignition-validate, butane-redistributable, openshift-golang-builder-containeraffected: workaround, no fix available, no fix planned “Will not fix”
-
Red Hat OpenShift Dev Spaces devspaces/udi-rhel8 Red Hat OpenShift distributed tracing 2 rhosdt/tempo-rhel8affected: workaround, no fix available
-
Red Hat OpenShift GitOps openshift-gitops-1/gitops-rhel8 Red Hat OpenShift on AWS rosaaffected: workaround, no fix planned “Will not fix”
-
Red Hat Openshift Sandboxed Containers openshift-sandboxed-containers/osc-rhel8-operator Red Hat OpenShift Virtualization 4 kubevirt, openshift-golang-builder-containeraffected: workaround, no fix available
-
Red Hat OpenStack Platform 16.2 etcd, rhosp-rhel8/osp-director-agent, golang-github-infrawatch-apputils Red Hat OpenStack Platform 17.1 etcd, golang-github-infrawatch-apputils Red Hat OpenStack Platform 18.0 etcdaffected: workaround, no fix planned “Will not fix”
-
Red Hat Quay 3 quay/clair-rhel8affected: workaround, no fix available
-
Red Hat Storage 3 golang, heketi, golang-bin, golang-src, golang-misc, golang-tests, +2 moreaffected: workaround, no fix planned “Out of support scope”
-
Red Hat Web Terminal web-terminal-exec-containeraffected: workaround, no fix available “Fix deferred”
-
Red Hat Self Node Remediation Operator workload-availability/self-node-remediation-rhel8-operatoraffected: workaround, no fix available
-
Red Hat Service Telemetry Framework 1.5 stf/sg-core-rhel8affected: workaround, no fix planned “Will not fix”
-
Red Hat Builds for Red Hat OpenShiftfixed: vendor fix RHSA-2024:6221
31 more fixed, 13 more not affected in the full advisory
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.67% chance of exploitation in the next 30 days, higher than 52% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
| CNA | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
| OSV | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | golang | <1.21.8 >=1.22.0-0, <1.22.1 |
1.21.8 1.22.1 |
| go | stdlib | <1.21.8 >=1.22.0-0, <1.22.1 |
1.21.8 1.22.1 |
Affected products
- Go standard library crypto/x509
Classification
- Weakness
-
- CWE-476 NULL Pointer Dereference
References
Sources
- CVE List CVE-2024-24783
- NVD CVE-2024-24783
- OSV BIT-golang-2024-24783
- OSV GO-2024-2598
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.