GO-2021-0319

Incorrect computation for some invalid field elements in crypto/elliptic

En bref

Publiée
Mise à jour
CVE
CVE-2022-23806
Alias
BIT-golang-2022-23806

Description

Some big.Int values that are not valid field elements (negative or overflowing) might cause Curve.IsOnCurve to incorrectly return true. Operating on those values may cause a panic or an invalid curve operation. Note that Unmarshal will never return such values.

Paquets affectés

PaquetVersions
Go · stdlibintroduced 0, fixed 1.16.14, introduced 1.17.0-0, fixed 1.17.7

Références

Sources

SourceLicence
OSV.devCC-BY 4.0 — Go Vulnerability Database