Vulnerability LowRUSTSEC-2024-0393 · cggmp21
RUSTSEC-2024-0393: Ambiguous challenge derivation
Short answerA security vulnerability in the cggmp21 crate: Ambiguous challenge derivation. GitHub rates it Low. Fixed in 0.4.0: update to a fixed version.
| Crate | cggmp21 |
|---|---|
| Type | Vulnerability (crypto-failure) |
| Affected versions | Before 0.4.0. |
| Fixed in | 0.4.0 |
| Severity | Low (GitHub rating) |
| Published | 2024-07-18 |
| Last changed | 2025-10-28 |
| Also known as | GHSA-rm66-9gh4-4gp8 |
What to do
- See which version you have:
cargo tree -i cggmp21(it also shows which of your dependencies pulls it in). - Update within your version requirement:
cargo update -p cggmp21. If the fix is a newer major or minor than your requirement allows, raise it in Cargo.toml (for examplecggmp21 = "0.4.0") or update the dependency that pulls it in. - Check again with
cargo audit, or paste your Cargo.lock into our Cargo.toml checker.
Details from the advisory
Challenge derivation in non-interactive ZK proofs was ambiguous and that could lead to security vulnerability (however, it's unknown if it could be exploited).
References
- Package: crates.io/crates/cggmp21
- Advisory: rustsec.org/advisories/RUSTSEC-2024-0393.html
- Web: github.com/dfns/cggmp21/pull/103
From the RustSec Advisory Database (CC0-1.0) via the OSV export, downloaded Oct 24, 2026. Severity score computed from the published CVSS vector.
Other advisories for cggmp21
Up next
Same cratecggmp21: security historyEvery advisory for this crate, and whether it is safe to use today.Read it next →Did this answer your question?