GHSA-5xgj-pmjj-gw49: Risc0 zkvm RISC Zero ZkVM Notes On Vulnerability
LOWGHSA-5xgj-pmjj-gw49 is a LOW risc zero zkvm notes on vulnerability (General Security Weakness) affecting Risc0 zkvm libraries in the crates.io ecosystem. The issue involves risc zero zkvm notes on zero-knowledge. Remediation is available in the latest vendor maintenance releases.
GHSA-5xgj-pmjj-gw49 at a Glance
How to Fix GHSA-5xgj-pmjj-gw49
To remediate this vulnerability, upgrade all affected Risc0 zkvm dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade risc0-zkvm to Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for risc0-zkvm
How to Check if You Are Affected
To determine whether your application is affected by GHSA-5xgj-pmjj-gw49, inspect your project dependencies for Risc0 zkvm:
inspect dependencies for risc0-zkvm
Analyze the terminal output to locate any version of Risc0 zkvm in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under General Security Weakness. In Risc0 zkvm, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-5xgj-pmjj-gw49 Affected Risc0 zkvm Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
risc0-zkvm
|
crates.io |
≤ 1.0.2
|
|
References
Frequently Asked Questions
What is GHSA-5xgj-pmjj-gw49?
Which Risc0 zkvm versions are affected?
What version fixes GHSA-5xgj-pmjj-gw49?
Is risc0-zkvm affected?
What CWE is associated with GHSA-5xgj-pmjj-gw49?
How can I check crates.io dependencies for GHSA-5xgj-pmjj-gw49?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-5xgj-pmjj-gw49",
"modified" : "2024-07-15T18:32:22Z",
"published" : "2024-07-15T18:32:22Z",
"aliases" : [ ],
"summary" : "RISC Zero zkVM notes on zero-knowledge",
"details" : "RISC Zero zkVM was designed from its inception to provide three main guarantees:\n1. *Computational integrity*: that a given software program executed correctly.\n2. *Succinctness*: that the proof of execution does not grow in relation to the program being executed.\n3. *Zero Knowledge*: that details of the program execution are not visible within the proof of program execution.\n\nUlrich Habock and Al Kindi have released [new research] that indicates that several STARK implementations -including our RISC Zero zkVM- do not meet the requirements to assert the specific property of zero knowledge provably. \n\nWhile a vast majority of real-world applications that leverage RISC Zero zkVM or similar systems depend primarily on computational integrity and succinctness, a subset of applications critically depend on the privacy guarantees provided by zero-knowledge; and for those use cases, users are cautioned to understand the research and make informed decisions based on the risks outlined in using an impacted system.\n\nAlthough the maintainers are not aware of any attacks that can take advantage of this potential weakness, they are working to proactively address this discovery as quickly as possible. \n\n[new research]: https://eprint.iacr.org/2024/1037",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "risc0-zkvm"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "1.0.2"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/risc0/risc0/security/advisories/GHSA-5xgj-pmjj-gw49"
}, {
"type" : "WEB",
"url" : "https://eprint.iacr.org/2024/1037"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/risc0/risc0"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2024-07-15T18:32:22Z",
"nvd_published_at" : null
}
}