CVE-2022-31053 — Signature forgery in biscuit-java — CVE Details
Signature forgery in Biscuit
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.91%). Schedule for your next planned update.
Does your project use an affected com.clever-cloud:biscuit-java version?
Paste your pom.xml to check it for CVE-2022-31053 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Impact
The paper Cryptanalysis of Aggregate Γ-Signature and Practical Countermeasures in Application to Bitcoin defines a way to forge valid Γ-signatures, an algorithm that is used in the Biscuit specification version 1. It would allow an attacker to create a token with any access level.
As Biscuit v1 was still an early version and not broadly deployed, we were able to contact all known users of Biscuit v1 and help them migrate to Biscuit v2. We are not aware of any active exploitation of this vulnerability.
Patches
The version 2 of the specification mandates a different algorithm than gamma signatures and as such is not affected by this vulnerability. The Biscuit implementations in Rust, Haskell, Go, Java and Javascript all have published versions following the v2 specification.
Workarounds
There is no known workaround, any use of Biscuit v1 should be migrated to v2.
References
Cryptanalysis of Aggregate Γ-Signature and Practical Countermeasures in Application to Bitcoin
For more information
If you have any questions or comments about this advisory:
- Open an issue in biscuit-auth/biscuit
- Ask questions on Matrix
Advisory Timeline
- First published June 17, 2022 (1623 days ago).
- Last revised February 4, 2026 — 1328 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 2.0.0 for com.clever-cloud:biscuit-java -->
cargo update -p biscuit-auth --precise 2.0.0
go get github.com/biscuit-auth/biscuit-go@v2.0.0
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (3)
Affects 3 ecosystems: crates.io (1), Go (1), Maven (1).
| Package | Fixed In |
|---|---|
| com.clever-cloud:biscuit-java Maven · Affected: 0.2.1, 0.2.2, 0.2.3, 0.2.4 (+18 more) | 2.0.0 |
| biscuit-auth crates.io · Affected: All versions | 2.0.0 |
| github.com/biscuit-auth/biscuit-go Go · Affected: All versions | 2.0.0 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-347Improper Verification of Cryptographic SignatureMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/biscuit-auth/biscuit/security/advisories/GHSA-75rw-34q6-72crWEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-31053ADVISORY
- https://eprint.iacr.org/2020/1484WEB
- https://github.com/advisories/GHSA-75rw-34q6-72crADVISORY
- https://github.com/biscuit-auth/biscuitPACKAGE
- https://pkg.go.dev/vuln/GO-2022-0564WEB
Frequently Asked Questions
- What is CVE-2022-31053?
- Signature forgery in Biscuit. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2022-31053?
- CVE-2022-31053 affects com.clever-cloud:biscuit-java, biscuit-auth and github.com/biscuit-auth/biscuit-go. It has a 0.9% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2022-31053 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This is an above-median EPSS score — 58% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.
Also Known As
Related CVEs
- CVE-2026-104099CRITICAL
Fabio: Access-control bypass through unnormalized request paths
- CVE-2026-77369CRITICAL
Daptin: Broken Access Control (IDOR) in the generic YJS collaboration endpoint