GO-2022-0435

Panic due to large inputs affecting P-256 curves in crypto/elliptic

At a glance

Published
Updated
CVE
CVE-2022-28327
Aliases
BIT-golang-2022-28327

Description

A crafted scalar input longer than 32 bytes can cause P256().ScalarMult or P256().ScalarBaseMult to panic. Indirect uses through crypto/ecdsa and crypto/tls are unaffected. amd64, arm64, ppc64le, and s390x are unaffected.

Affected packages

PackageVersions
Go · stdlibintroduced 0, fixed 1.17.9, introduced 1.18.0-0, fixed 1.18.1

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — Go Vulnerability Database