GHSA-fpr5-jp2j-4q2f: Paillier zk Paillier-zk Has Ambiguous Challenge Derivation Vulnerability

LOW
CWE-327
Published
Advisory Summary

GHSA-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

CVE Identifier N/A
GHSA Identifier GHSA-fpr5-jp2j-4q2f
Severity LOW
CVSS v3.1 Base Score N/A
CWE Classification CWE-327: Use of a Broken or Risky Cryptographic Algorithm
Affected Product Paillier zk
Package Ecosystem crates.io
Published Date
Last Updated

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.

paillier-zk fixed: 0.4.0
Upgrade paillier-zk to 0.4.0
Verify Direct and Transitive Dependencies

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

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).

GHSA-fpr5-jp2j-4q2f Affected Paillier zk Versions

1 component(s)
Fixed Versions:
0.4.0
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?
GHSA-fpr5-jp2j-4q2f is a security vulnerability in Paillier zk involving paillier-zk has ambiguous challenge derivation under CWE-327: Use of a Broken or Risky Cryptographic Algorithm.
Which Paillier zk versions are affected?
Affected versions include releases prior to 0.4.0 across affected packages: paillier-zk.
What version fixes GHSA-fpr5-jp2j-4q2f?
Upgrading to 0.4.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is paillier-zk affected?
Yes, paillier-zk is affected in releases prior to 0.4.0. Upgrade your dependency to 0.4.0 or later.
What CWE is associated with GHSA-fpr5-jp2j-4q2f?
GHSA-fpr5-jp2j-4q2f is classified under CWE-327: Use of a Broken or Risky Cryptographic Algorithm (The product uses a broken or risky cryptographic algorithm or protocol.).
How can I check crates.io dependencies for GHSA-fpr5-jp2j-4q2f?
Run the dependency tree command: 'inspect dependencies for paillier-zk'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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
  }
}