Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. sp1-recursion-circuit
  4. ›
  5. GHSA-8m24-3cfx-9fjw

GHSA-8m24-3cfx-9fjw: sp1 has insufficient observation of cumulative sum

November 8, 2024

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

  • github.com/advisories/GHSA-8m24-3cfx-9fjw
  • github.com/succinctlabs/sp1
  • github.com/succinctlabs/sp1/commit/79884ffb1a2d10bfd2c272f864033577a052468a
  • github.com/succinctlabs/sp1/security/advisories/GHSA-8m24-3cfx-9fjw

Code Behaviors & Features

Detect and mitigate GHSA-8m24-3cfx-9fjw with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.0.0

Fixed versions

  • 3.0.0

Solution

Upgrade to version 3.0.0 or above.

Source file

cargo/sp1-recursion-circuit/GHSA-8m24-3cfx-9fjw.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:58 +0000.