github.com/supranational/blst
Affected
- introduced
0.3.0, fixed0.3.3(semver)
Fixed versions
0.3.3
Fix
- Fixed version
0.3.3go get github.com/supranational/[email protected]
Advisory
Also known as: GO-2022-1053
Blst vulnerable to incorrect results for some inputs in blst_fp_eucl_inverse function
Impact
Blst versions v0.3.0 to v0.3.2 can produce the incorrect outputs for some inputs to the blst_fp_eucl_inverse function. This could theoretically result in the creation of an invalid signature from correct inputs. However, fuzzing of higher level functions such as sign and verify were unable to produce incorrect results and there has been no reported occurrences of this issue being encountered in production use.
Description
During the course of differential fuzzing of the blst library by @guidovranken it was discovered that blst would produce the incorrect result for some input values in the inverse function. This was the result of the introduction of a new inversion formula in version v0.3.0. This source of these incorrect outputs was due to two issues:
Patches
This issue has been resolved in the v0.3.3 release and users are recommended to upgrade immediately.
References
The software used to uncover this issue can be found here.
Credits
A special thanks to Guido Vranken (@guidovranken) for his discovery and disclosure of this vulnerability.
For more information
If you have any questions or comments about this advisory please email us at [[email protected]](mailto:[email protected])
Medium Basis: The source's own band: MODERATE
0.3.0, fixed 0.3.3 (semver)0.3.3
0.3.3go get github.com/supranational/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0