🛡️ GHSA-x279-68rr-jp4p — blst

⚪ Unknown ✅ No Known Exploit OSV
N/A
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

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:

1. The amount of inner loop iterations was not sufficient for the algorithm to converge.

2. It was erroneously assumed that the absolute value of the intermediate result would be capped at 767-bits. As a result, some output values were truncated by one bit or the most significant bit was misinterpreted as the sign.

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](https://github.com/guidovranken/cryptofuzz).

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])

Affected software

GHSA-x279-68rr-jp4p is recorded against 1 package.

  • github.com/supranational/blst

Timeline and source

Published on 7 October 2022 and last revised on 20 May 2024. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

github.com (Web)
github.com (Web)
github.com (Package)
pkg.go.dev (Web)

Details

Severity Unknown
CVSS Score N/A
CVSS Vector N/A
CWE N/A
Public Exploit ✅ No
Source OSV
Published 2022-10-07
Updated 2026-08-20
Modified 2024-05-20
Fix URL N/A

Affected Packages

Software From version Fixed in
github.com/supranational/blst

Similar Threats

Free Vulnerability Check

Is your site affected by GHSA-x279-68rr-jp4p?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against GHSA-x279-68rr-jp4p and other known CVE records.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesGitHub AdvisoryGitHub Advisory Undated