CVE-2023-24532: Incorrect calculation on P256 curves in crypto/internal/nistec

Published Mar 8, 2023
·
Updated

Incorrect calculation on P256 curves in crypto/internal/nistec

Other sources

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.

MITRE

Affected Software

7 affected componentsFixes available
Golang Go<1.19.7
Golang Go>=1.20.0<1.20.2
redhat/Go 1.20.2 and Go<1.19.7
1.19.7
Microsoft cbl2 golang 1.17.13-2
Microsoft cbl2 golang 1.21.6-1<1.21.6-1
1.21.6-1
Microsoft cbl2 golang 1.18.8-7
Microsoft azl3 golang 1.20.2-1<1.20.2-1
1.20.2-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/Go 1.20.2 and Go to a version that resolves this vulnerability.

    Fixed in 1.19.7
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.21.6-1
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.20.2-1

Event History

Mar 8, 2023
CVE Published
via MITRE·07:40 PM
Data Sourced
via MITRE·07:40 PM
DescriptionWeakness
Jul 17, 2023
Data Sourced
via Red Hat·01:16 PM
DescriptionSeverityAffected Software
Jul 11, 2025
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
DescriptionSeverity

Frequently Asked Questions

1

What is the severity of CVE-2023-24532?

The severity of CVE-2023-24532 is medium with a severity value of 5.3.

2

Which software versions are affected by CVE-2023-24532?

The affected software versions for CVE-2023-24532 are Go 1.20.2 and Go versions up to 1.19.7.

3

How does CVE-2023-24532 impact crypto/ecdsa and crypto/ecdh usages?

CVE-2023-24532 does not impact usages of crypto/ecdsa or crypto/ecdh.

4

What is the recommended remedy for CVE-2023-24532?

The recommended remedy for CVE-2023-24532 is to update to Go version 1.19.7 or apply the provided fix from Red Hat.

5

Are there any public references for CVE-2023-24532?

Yes, you can find public references for CVE-2023-24532 at the following URLs: <br> - [https://go.dev/cl/471255](https://go.dev/cl/471255) <br> - [https://pkg.go.dev/vuln/GO-2023-1621](https://pkg.go.dev/vuln/GO-2023-1621) <br> - [https://groups.google.com/g/golang-announce/c/3-TpUx48iQY](https://groups.google.com/g/golang-announce/c/3-TpUx48iQY)

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203