Ambiguous Challenge Derivation Vulnerability in cggmp21 Package

cggmp21 Updated 14 Dec 2025

Summary

12/11/2024
LOW
Yes i
Low
2.7

GHSA-rm66-9gh4-4gp8: cggmp21 vulnerable to ambiguous challenge derivation. Affects cggmp21 versions < 0.4.0. Fixed in 0.4.0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The cggmp21 package is a Rust library available on crates.io, designed for cryptographic operations, particularly in the realm of zero-knowledge proofs. It provides developers with tools to implement non-interactive zero-knowledge (ZK) proofs efficiently. However, the package has been identified to have a vulnerability related to the derivation of challenges in non-interactive ZK proofs, which could potentially compromise its security integrity.

Vulnerability Detail

The vulnerability arises from an ambiguous challenge derivation process in the cggmp21 package, specifically in its implementation of non-interactive zero-knowledge proofs. This ambiguity could lead to security vulnerabilities, although it remains uncertain whether this can be exploited in practice. The issue is categorized under CWE-327, which pertains to the use of a cryptographic algorithm that is not properly implemented, potentially allowing for unintended consequences in cryptographic operations.

How To Fix

Minimum fixed version

0.4.0

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, there are no specific workarounds provided for this vulnerability. It is advisable to monitor the package for updates and apply the patch as soon as it is available.

Conclusion

The cggmp21 package has a vulnerability related to ambiguous challenge derivation in non-interactive zero-knowledge proofs. It is essential to update to version 0.4.0 or later to mitigate potential security risks. Users are encouraged to utilize tools like Vulert to monitor their applications for vulnerabilities.

See every vulnerability recorded for cggmp21 →

Share this vulnerability

FAQ

The vulnerability involves ambiguous challenge derivation in non-interactive zero-knowledge proofs, which could lead to security issues.

You can use the Vulert platform to monitor and alert for open-source vulnerabilities. Visit Vulert Scanner to check if your application is affected without any signup.

While there are no specific workarounds, it is crucial to stay informed about updates and apply them as soon as possible to mitigate risks.

The severity of this vulnerability is classified as low, but it is still important to address it to maintain the security of your application.

You can find more information about the cggmp21 package on its GitHub repository or the crates.io page.

Related vulnerabilities

Recent vulnerabilities recorded for cggmp21.

How To Fix

Minimum fixed version

0.4.0

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback