GO-2021-0319
Dashboard / Vulnerabilities / GO-2021-0319
GO-2021-0319
Published: 23 May 2022Last Modified: 20 May 2024
Aliases:
Summary: Incorrect computation for some invalid field elements in crypto/elliptic
Details: 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.
References: https://go.dev/cl/382455, https://go.googlesource.com/go/+/7f9494c277a471f6f47f4af3036285c0b1419816, https://groups.google.com/g/golang-announce/c/SUsQn0aSgPQ, https://go.dev/issue/50974
Affected packages
Package
Name: stdlib
Purl: pkg:golang/stdlib
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -1.16.14
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
