GO-2021-0319

vendorUSosv

Incorrect computation for some invalid field elements in crypto/elliptic

view advisory published 2022-05-23Licence: per source

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.

01

describes (1)

Related CVEs.

IDseverity exploitable
CVE-2022-23806UScritical9.1—
Curve.IsOnCurve in crypto/elliptic in Go before 1.16.14 and 1.17.x before 1.17.7 can incorrectly return true in situations with a big.Int value that is not a valid field element.
02

references

External citations — patches, advisories, analysis.

scry

Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.

Free scan