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
| Paquet | Versions |
|---|---|
| Go · stdlib | introduced 0, fixed 1.16.14, introduced 1.17.0-0, fixed 1.17.7 |
Références
- https://go.dev/cl/382455 FIX
- https://go.googlesource.com/go/+/7f9494c277a471f6f47f4af3036285c0b1419816 FIX
- https://groups.google.com/g/golang-announce/c/SUsQn0aSgPQ WEB
- https://go.dev/issue/50974 REPORT
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — Go Vulnerability Database |