Rust advisories / paillier-zk
Vulnerability LowRUSTSEC-2024-0391 · paillier-zk
RUSTSEC-2024-0391: Ambiguous challenge derivation
Short answerA security vulnerability in the paillier-zk crate: Ambiguous challenge derivation. GitHub rates it Low. Fixed in 0.4.0: update to a fixed version.
| Crate | paillier-zk |
|---|---|
| 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-fpr5-jp2j-4q2f |
What to do
- See which version you have:
cargo tree -i paillier-zk(it also shows which of your dependencies pulls it in). - Update within your version requirement:
cargo update -p paillier-zk. If the fix is a newer major or minor than your requirement allows, raise it in Cargo.toml (for examplepaillier-zk = "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/paillier-zk
- Advisory: rustsec.org/advisories/RUSTSEC-2024-0391.html
- Web: github.com/dfns/paillier-zk/pull/49
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?