cggmp21-keygen has ambiguous challenge derivationGHSA-7jjx-3qw9-j6h6
Fix: dfns/cggmp21#103GHSA-7jjx-3qw9-j6h6 is a security vulnerability in cggmp21-keygen. A fix is available for cggmp21-keygen — see the affected versions and patch details below.
Real-World Exposure
cggmp21-keygenReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects crates.io packages — download data is not available via public APIs for these ecosystems.
Description
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).
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🦀crates.io | cggmp21-keygen | all versions | 0.3.0cargo update -p cggmp21-keygen --precise 0.3.0 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for cggmp21-keygen, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update cggmp21-keygen to 0.3.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-7jjx-3qw9-j6h6 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is GHSA-7jjx-3qw9-j6h6 in your dependencies?
Find it across crates.io, including transitive dependencies.