PT-2022-7693 · Google+7 · Go+7
Published
2022-02-11
·
Updated
2024-12-03
·
CVE-2022-23806
CVSS v2.0
9.4
Critical
| Vector | AV:N/AC:L/Au:N/C:N/I:C/A:C |
Name of the Vulnerable Software and Affected Versions
Go versions prior to 1.16.14
Go versions 1.17.x prior to 1.17.7
Description
The issue is related to the Curve.IsOnCurve component in the Golang programming language, which is associated with incorrect checking of the return value of a method or function. This can allow a remote attacker to impact the availability and integrity of a resource. Specifically, some big.Int values that are not valid field elements, such as negative or overflowing values, might cause Curve.IsOnCurve to incorrectly return true. Operating on those values may cause a panic or an invalid curve operation.
Recommendations
For Go versions prior to 1.16.14, update to version 1.16.14 or later.
For Go versions 1.17.x prior to 1.17.7, update to version 1.17.7 or later.
As a temporary workaround, consider adding additional checks for valid field elements before calling the Curve.IsOnCurve function to minimize the risk of exploitation.
Fix
Unchecked Return Value
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Almalinux
Centos
Go
Red Hat
Red Os
Rocky Linux
Suse