GHSA-8m24-3cfx-9fjw

Suggest an improvement
Source
https://github.com/advisories/GHSA-8m24-3cfx-9fjw
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/11/GHSA-8m24-3cfx-9fjw/GHSA-8m24-3cfx-9fjw.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-8m24-3cfx-9fjw
Published
2024-11-08T16:44:15Z
Modified
2024-11-08T16:44:15Z
Severity
  • 1.7 (Low) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U CVSS Calculator
Summary
sp1 has insufficient observation of cumulative sum
Details

During proof generation, the prover must observe all values sent to the verifier to generate valid Fiat-Shamir challenges. Prior to v3.0.0 the cumulative sum of the permutation argument was not observed when sampling zeta, which is a random challenge sampled to force the constraints to be true. In v3.0.0, this is fixed by observing the cumulative sum into the challenger, which can is done by observing the commit to the entire permutation trace.

While this vulnerability is theoretically present in v2.0.0 and below, exploiting it is quite a difficult task as the cumulative sum one can get from manipulation is essentially random. It requires practically infeasible amount of computation and deep knowledge of cryptographic attacks to carry out.

This issue was discovered during the audit of SP1 V3.0.0 and was officially fixed on October 17th. Out of abundance of caution, we will be deprecating all versions of SP1 before 3.0.0.

References

Affected packages

crates.io / sp1-recursion-circuit

Package

Name
sp1-recursion-circuit
View open source insights on deps.dev
Purl
pkg:cargo/sp1-recursion-circuit

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.0.0