Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-f6rc-24x4-ppxp

Опубликовано: 05 авг. 2025
Источник: github
Github: Прошло ревью
CVSS4: 2.7

Описание

RISC Zero Underconstrained Vulnerability: Division

Two issues were found: For some inputs to signed integer division, the circuit allowed two outputs, only one of which was valid. Additionally, the result of division by zero was underconstrained.

This vulnerability was identified using the Picus tool from Veridise.

Impacted on-chain verifiers have already been disabled via the estop mechanism outlined in the Verifier Management Design.

Mitigation

We recommend all impacted users upgrade as soon as possible.

Rust applications using the risc0-zkvm crate at versions < 2.2 should upgrade to version 2.2.0 or later.

Smart contract applications using the official RISC Zero Verifier Router do not need to take any action: zkVM version 2.2 is active on all official routers, and version 2.1 has been disabled.

Smart contract applications not using the verifier router should update their contracts to send verification calls to the 2.2 version of the verifier.

Пакеты

Наименование

risc0-zkvm

rust
Затронутые версииВерсия исправления

>= 2.0.0, < 2.2.0

2.2.0

Наименование

risc0-circuit-rv32im

rust
Затронутые версииВерсия исправления

>= 2.0.0, < 3.0.0

3.0.0

Наименование

risc0-circuit-rv32im-sys

rust
Затронутые версииВерсия исправления

>= 2.0.0, < 3.0.0

3.0.0

EPSS

Процентиль: 17%
0.00055
Низкий

2.7 Low

CVSS4

Дефекты

CWE-369

Связанные уязвимости

nvd
6 месяцев назад

RISC Zero is a zero-knowledge verifiable general computing platform based on zk-STARKs and the RISC-V microarchitecture. RISC packages risc0-zkvm versions 2.0.0 through 2.1.0 and risc0-circuit-rv32im and risc0-circuit-rv32im-sys versions 2.0.0 through 2.0.4 contain vulnerabilities where signed integer division allows multiple outputs for certain inputs with only one being valid, and division by zero results are underconstrained. This issue is fixed in risc0-zkvm version 2.2.0 and version 3.0.0 for the risc0-circuit-rv32im and risc0-circuit-rv32im-sys packages.

EPSS

Процентиль: 17%
0.00055
Низкий

2.7 Low

CVSS4

Дефекты

CWE-369