Rust advisories / cggmp21-keygen
Vulnerability LowRUSTSEC-2024-0392 · cggmp21-keygen
RUSTSEC-2024-0392: Ambiguous challenge derivation
Short answerA security vulnerability in the cggmp21-keygen crate: Ambiguous challenge derivation. GitHub rates it Low. Fixed in 0.3.0: update to a fixed version.
| Crate | cggmp21-keygen |
|---|---|
| Type | Vulnerability (crypto-failure) |
| Affected versions | Before 0.3.0. |
| Fixed in | 0.3.0 |
| Severity | Low (GitHub rating) |
| Published | 2024-07-18 |
| Last changed | 2025-10-28 |
| Also known as | GHSA-7jjx-3qw9-j6h6 |
What to do
- See which version you have:
cargo tree -i cggmp21-keygen(it also shows which of your dependencies pulls it in). - Update within your version requirement:
cargo update -p cggmp21-keygen. If the fix is a newer major or minor than your requirement allows, raise it in Cargo.toml (for examplecggmp21-keygen = "0.3.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-keygen
- Advisory: rustsec.org/advisories/RUSTSEC-2024-0392.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.
Up next
Are you affected?Check your whole dependency treePaste Cargo.lock: every advisory, for your exact versions.Read it next →Also worth your time
Did this answer your question?