GHSA-8frv-q972-9rq5

Suggest an improvement
Source
https://github.com/advisories/GHSA-8frv-q972-9rq5
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/11/GHSA-8frv-q972-9rq5/GHSA-8frv-q972-9rq5.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-8frv-q972-9rq5
Aliases
Published
2025-11-25T20:42:28Z
Modified
2025-11-27T20:52:32.612636Z
Severity
  • 8.2 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
cggmp24 and cggmp21 are vulnerable to signature forgery through altered presignatures
Details

Impact

This attack is against presignatures used in very specific context: * Presignatures + HD wallets derivation: security level reduces to 85 bits \ Previously users could generate a presignature, and then choose a HD derivation path while issuing a partial signature via <code>Presignature::set_derivation_path</code>, which is malleable to attack that reduces target security level. To mitigate, this method has been removed from API. * Presignatures + "raw signing" (when signer signs a hash without knowing an original message): results into signature forgery attack \ Previously, users were able to configure <code>Presignature::issue_partial_signature</code> with hashed message without ever providing original mesage. In new API, this method only accepts digests for which original message has been observed.

Patches

cggmp24 v0.7.0-alpha.2 release contains API changes that make it impossible to use presignatures in contexts in which it reduces security. Follow migration guidelines to upgrade.

Workarounds

Users can continue using un-patched versions of library as long as they don't use presignatures in said scenarios where it weakens system security. To be sure, migrate to patched version that excludes presignatures from being used in such scenarios.

References

Read this blog post to learn more.

Database specific
{
    "nvd_published_at": "2025-11-25T20:16:00Z",
    "github_reviewed_at": "2025-11-25T20:42:28Z",
    "severity": "HIGH",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-327"
    ]
}
References

Affected packages

crates.io / cggmp21

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
0.6.3

crates.io / cggmp24

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.7.0-alpha.2