CVE-2023-24532 json
Incorrect calculation on P256 curves in crypto/internal/nistec
published 3y ago modified 2mo ago also BIT-golang-2023-24532 , EUVD-2023-28550 , GO-2023-1621
- cvss
- 5.3
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 57%
- public exploits
- 0
- none known
Summary
The ScalarMult and ScalarBaseMult methods of the P256 Curve may return an incorrect result if called with some specific unreduced scalars (a scalar larger than the order of the curve). This does not impact usages of crypto/ecdsa or crypto/ecdh.
Patch / fix
- bitnami golang 1.19.7, 1.20.2
- go stdlib 1.19.7, 1.20.2
- Go standard library crypto/internal/nistec 1.19.7, 1.20.2
- golang-1.19 Debian 12 1.19.8-2
debian advisories DEBIAN-CVE-2023-24532
- delve RHEL 8 1.9.1-1.module+el8.8.0+16778+5fbb74f5
- golang RHEL 8 1.19.9-1.module+el8.8.0+18857+fca43658
- go-toolset RHEL 8 1.19.9-1.module+el8.8.0+18857+fca43658
- golang-bin RHEL 8 1.19.9-1.module+el8.8.0+18857+fca43658
- golang-src RHEL 8 1.19.9-1.module+el8.8.0+18857+fca43658
- golang-misc RHEL 8 1.19.9-1.module+el8.8.0+18857+fca43658
- golang-race RHEL 8 1.19.9-1.module+el8.8.0+18857+fca43658
- golang-tests RHEL 8 1.19.9-1.module+el8.8.0+18857+fca43658
red hat advisories RHSA-2023:3319RHSA-2023:3318
- container-suseconnect SLES for SAP 15 SP3, SLES for SAP 15 SP2, SLES for SAP 15 SP1 +10 more 2.4.0-150000.4.24.1
- go1.20 SLE Module for Development Tools 15 SP4, openSUSE Leap 15.4 1.20.2-150000.1.5.1
- go1.19 SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE Real Time 15 SP3 +5 more 1.19.7-150000.1.23.1
suse advisories SUSE-SU-2023:0871-1SUSE-SU-2023:0735-1SUSE-SU-2023:0733-1
- go1.20 openSUSE Tumbleweed 1.20.2-1.1
- go1.19 openSUSE Tumbleweed 1.19.7-1.1
opensuse advisories openSUSE-SU-2024:12760-1openSUSE-SU-2024:12770-1
- go Alpine 3.17 1.19.7-r0
- go Alpine 3.24, Alpine 3.23, Alpine 3.22 +4 more 1.20.2-r0
alpine advisories ALPINE-CVE-2023-24532
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- golang CBL-Mariner 2.0 1.21.6-1
- golang Azure Linux 3.0 1.20.2-1
azure linux advisories AZL-37373AZL-37385AZL-52875
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
- go.dev/issue/58647 patch
- go.dev/cl/471255 patch
Is CVE-2023-24532 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-24532 updated cvss 5.3
golang: crypto/internal/nistec: specific unreduced P-256 scalars produce incorrect results
-
Red Hat Migration Toolkit for Virtualization migration-toolkit-virtualization/mtv-rhv-populator-rhel8 Red Hat Network Observability Operator network-observability/network-observability-rhel9-operator Red Hat OpenShift Developer Tools and Services ocp-tools-4/jenkins-rhel8 Red Hat OpenShift Serverless openshift-serverless-1/client-kn-rhel8 Red Hat OpenShift Service Mesh 2 openshift-golang-builder-container Red Hat 3scale API Management Platform 2 3scale-amp2/3scale-rhel7-operatoraffected: no fix available
-
Red Hat build of Apicurio Registry 2 rhint-serv-2/integration-service-registry-operator-containeraffected: no fix planned “Will not fix”
-
Red Hat Ceph Storage 3 golang, golang-bin, golang-srcaffected: no fix planned “Out of support scope”
-
Red Hat OpenShift Container Platform 4 openshift-golang-builder-containeraffected: no fix available
-
Red Hat OpenShift Data Science (RHODS) rhods/odh-mm-rest-proxy-rhel8affected: no fix planned “Will not fix”
-
Red Hat OpenShift Dev Spaces devspaces/udi-rhel8 Red Hat OpenShift distributed tracing 2 rhosdt/jaeger-agent-rhel8 Red Hat OpenShift Virtualization 4 openshift-golang-builder-container Red Hat OpenStack Platform 18.0 openstack-baremetal-image-downloader-containeraffected: no fix available
-
Red Hat Storage 3 golang, golang-bin, golang-src, golang-misc, golang-tests, go-toolset-7-golangaffected: no fix planned “Will not fix”
-
Red Hat Web Terminal web-terminal/web-terminal-rhel9-operatoraffected: no fix available “Fix deferred”
show 11 moreshow fewer
-
Red Hat MTA 6.2 for RHEL 8 mta/mta-hub-rhel9 6.2.0-16fixed: vendor fix RHSA-2023:4627
-
Red Hat OpenShift API for Data Protection 1.1 oadp/oadp-velero-rhel8 1.1.6-7fixed: vendor fix RHSA-2023:5314
-
Red Hat OSSO 1.1 for RHEL 8 openshift-secondary-scheduler-operator/secondary-scheduler-operator-rhel8 v1.1-30fixed: vendor fix RHSA-2023:4657
-
Red Hat Enterprise Linux AppStream (v. 8) delve 1.9.1-1.module+el8.8.0+16778+5fbb74f5, golang 1.19.9-1.module+el8.8.0+18857+fca43658, go-toolset 1.19.9-1.module+el8.8.0+18857+fca43658, golang-bin 1.19.9-1.module+el8.8.0+18857+fca43658, golang-src 1.19.9-1.module+el8.8.0+18857+fca43658, golang-misc 1.19.9-1.module+el8.8.0+18857+fca43658, +2 morefixed: vendor fix RHSA-2023:3319
-
Red Hat Enterprise Linux AppStream (v. 9) golang 1.19.9-2.el9_2, golang-bin 1.19.9-2.el9_2, golang-src 1.19.9-2.el9_2, golang-misc 1.19.9-2.el9_2, golang-race 1.19.9-2.el9_2, golang-tests 1.19.9-2.el9_2fixed: vendor fix RHSA-2023:3318
-
Red Hat Migration Toolkit 1.7 rhmtc/openshift-velero-plugin-rhel8 v1.7.12-1fixed: vendor fix RHSA-2023:4892
-
Red Hat OpenStack Platform 16.2 rhosp-rhel8/osp-director-agent 1.3.0-10, rhosp-rhel8/osp-director-operator 1.3.0-9, rhosp-rhel8/osp-director-downloader 1.3.0-11, rhosp-rhel8/osp-director-operator-bundle 1.3.0-19fixed: vendor fix RHSA-2023:5935
-
Red Hat RHODF 4.15 for RHEL 9 odf4/cephcsi-rhel9 v4.15.0-37fixed: vendor fix RHSA-2024:1383
-
Red Hat RODOO 1.0 for RHEL 8 run-once-duration-override-operator/run-once-duration-override-rhel8 v1.0-30fixed: vendor fix RHSA-2023:5947
-
Red Hat Service Telemetry Framework 1.5 for RHEL 8 stf/sg-core-rhel8 5.1.1-8, stf/sg-bridge-rhel8 1.5.0-18, stf/smart-gateway-rhel8-operator 5.0.1-9, stf/prometheus-webhook-snmp-rhel8 1.5.2-8, stf/service-telemetry-rhel8-operator 1.5.1-8, stf/smart-gateway-operator-bundle 5.0.1697612918-1, +1 morefixed: vendor fix RHSA-2023:5976
-
Red Hat Cryostat 2 cryostat-tech-preview/cryostat-rhel8-operator Red Hat Logging Subsystem for Red Hat OpenShift openshift-logging/logging-loki-rhel9 Red Hat MTA 6.2 for RHEL 8 mta/mta-ui-rhel9 6.2.0-17, mta/mta-rhel8-operator 6.2.0-12, mta/mta-operator-bundle 6.2.0-29, mta/mta-pathfinder-rhel9 6.2.0-5, mta/mta-windup-addon-rhel9 6.2.0-11 Red Hat OpenShift API for Data Protection 1.1 oadp/oadp-rhel8-operator 1.1.6-6, oadp/oadp-mustgather-rhel8 1.1.6-9, oadp/oadp-operator-bundle 1.1.6-14, oadp/oadp-velero-plugin-rhel8 1.1.6-5, oadp/oadp-velero-plugin-for-aws-rhel8 1.1.6-5, oadp/oadp-velero-plugin-for-csi-rhel8 1.1.6-5, +5 more Red Hat OSSO 1.1 for RHEL 8 openshift-secondary-scheduler-operator/secondary-scheduler-operator-bundle v1.1-30 Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/volsync-mover-rclone-rhel8not affected: vulnerable code not present
+4 more productsfewer
Red Hat Enterprise Linux AppStream (v. 9) go-toolset 1.19.9-1.el9_2 Red Hat Migration Toolkit 1.7 rhmtc/openshift-migration-ui-rhel8 v1.7.12-1, rhmtc/openshift-migration-velero-rhel8 v1.7.12-1, rhmtc/openshift-migration-openvpn-rhel8 v1.7.12-1, rhmtc/openshift-migration-registry-rhel8 v1.7.12-1, rhmtc/openshift-migration-rhel8-operator v1.7.12-1, rhmtc/openshift-migration-operator-bundle v1.7.12-1, +10 more Red Hat RHODF 4.15 for RHEL 9 odf4/odf-cli-rhel9 v4.15.0-22, odf4/mcg-core-rhel9 v4.15.0-68, odf4/odf-console-rhel9 v4.15.0-57, odf4/mcg-rhel9-operator v4.15.0-39, odf4/ocs-rhel9-operator v4.15.0-79, odf4/odf-rhel9-operator v4.15.0-19, +19 more Red Hat RODOO 1.0 for RHEL 8 run-once-duration-override-operator/run-once-duration-override-operator-rhel8 v1.0-25, run-once-duration-override-operator/run-once-duration-override-operator-bundle v1.0-20
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
- 2y ago
Exploit prediction
0.82% chance of exploitation in the next 30 days, higher than 57% of all scored CVEs (FIRST EPSS, 2026-11-15).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| OSV | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | golang | <1.19.7 >=1.20.0, <1.20.2 |
1.19.7 1.20.2 |
| go | stdlib | <1.19.7 >=1.20.0-0, <1.20.2 |
1.19.7 1.20.2 |
Affected products
- Go standard library crypto/internal/nistec
Classification
- Weakness
-
- CWE-682 Incorrect Calculation
References
-
go.dev
/issue/58647
issue-tracking, patch, report
-
go.dev
/cl/471255
patch
-
groups.google.com
/g/golang-announce/c/3-TpUx48iQY
mailing-list, release-notes, discussion, web
-
pkg.go.dev
/vuln/GO-2023-1621
third-party-advisory, advisory
-
security.netapp.com
/advisory/ntap-20230331-0011/
web
-
nvd.nist.gov
/vuln/detail/CVE-2023-24532
web
Sources
- CVE List CVE-2023-24532
- NVD CVE-2023-24532
- OSV BIT-golang-2023-24532
- OSV GO-2023-1621
Fencer Intel 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.