CVE-2023-24532

Incorrect calculation on P256 curves in crypto/internal/nistec

MEDIUM 5.3

At a glance

Source
NVD
EPSS
EPSS 0.82 % · percentile 57 ()
State
PUBLISHED
Published
Updated
Assigner
Go
NVD status
Modified

Description

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.

Weaknesses (CWE)

  • CWE-682 — Incorrect Calculation

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:NNVD · nvd@nist.gov (Primary)

Advisories

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Go standard library · crypto/internal/nistecaffected 0 < 1.19.7 ; affected 1.20.0-0 < 1.20.2

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD