GHSA-fpr5-jp2j-4q2f: Paillier zk Paillier-zk Has Ambiguous Challenge Derivation Vulnerability
LOWGHSA-fpr5-jp2j-4q2f is a LOW paillier-zk has ambiguous challenge derivation vulnerability (CWE-327: Use of a Broken or Risky Cryptographic Algorithm) affecting Paillier zk libraries in the crates.io ecosystem. The issue involves paillier-zk has ambiguous challenge derivation. Remediation is available by upgrading affected packages to version 0.4.0.
GHSA-fpr5-jp2j-4q2f at a Glance
How to Fix GHSA-fpr5-jp2j-4q2f
To remediate this vulnerability, upgrade all affected Paillier zk 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 paillier-zk to 0.4.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for paillier-zk
How to Check if You Are Affected
To determine whether your application is affected by GHSA-fpr5-jp2j-4q2f, inspect your project dependencies for Paillier zk:
inspect dependencies for paillier-zk
Analyze the terminal output to locate any version of Paillier zk in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.4.0), 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 CWE-327: Use of a Broken or Risky Cryptographic Algorithm, where the product uses a broken or risky cryptographic algorithm or protocol. In Paillier zk, 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-fpr5-jp2j-4q2f Affected Paillier zk Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
paillier-zk
|
crates.io |
< 0.4.0
|
0.4.0
|
References
Frequently Asked Questions
What is GHSA-fpr5-jp2j-4q2f?
Which Paillier zk versions are affected?
What version fixes GHSA-fpr5-jp2j-4q2f?
Is paillier-zk affected?
What CWE is associated with GHSA-fpr5-jp2j-4q2f?
How can I check crates.io dependencies for GHSA-fpr5-jp2j-4q2f?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-fpr5-jp2j-4q2f",
"modified" : "2024-11-12T21:20:26Z",
"published" : "2024-11-12T21:20:26Z",
"aliases" : [ ],
"summary" : "paillier-zk has ambiguous challenge derivation",
"details" : "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).\n",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "paillier-zk"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.4.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/dfns/paillier-zk/pull/49"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/LFDT-Lockness/paillier-zk"
}, {
"type" : "WEB",
"url" : "https://rustsec.org/advisories/RUSTSEC-2024-0391.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-327" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2024-11-12T21:20:26Z",
"nvd_published_at" : null
}
}