CVE-2022-31053
CRITICAL 9.8CVSS 3.1Signature forgery in Biscuit
Biscuit is an authentication and authorization token for microservices architectures. The Biscuit specification version 1 contains a vulnerable algorithm that allows malicious actors to forge valid Γ-signatures. Such an attack would allow an attacker to create a token with any access level. 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. There are no known workarounds for this issue.
- Published
- 13 Jun 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-347
- Also known as
- GHSA-75rw-34q6-72crGO-2022-0564HSEC-2023-0002
- Sources
- NVDJSONOSV GHSA-75rw-34q6-72crJSONOSV GO-2022-0564JSONOSV HSEC-2023-0002JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | HSEC | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | biscuitsec | biscuit-authcpe:2.3:a:biscuitsec:biscuit-auth:*:*:*:*:*:rust:*:* |
>= 1.0.0, <= 1.1.0 | |
| NVD | biscuitsec | biscuit-gocpe:2.3:a:biscuitsec:biscuit-go:*:*:*:*:*:*:*:* |
< 2.0.0 | 2.0.0 |
| NVD | biscuitsec | biscuit-haskellcpe:2.3:a:biscuitsec:biscuit-haskell:0.1.1.0:*:*:*:*:*:*:* |
= 0.1.1.0 | |
| NVD | clever-cloud | biscuit-javacpe:2.3:a:clever-cloud:biscuit-java:*:*:*:*:*:*:*:* |
< 2.0.0 | 2.0.0 |
| OSV | crates.io | biscuit-auth | >= 1.0.0, < 2.0.0 | 2.0.0 |
| OSV | Go | github.com/biscuit-auth/biscuit-go | < 2.0.0 | 2.0.0 |
| OSV | Maven | com.clever-cloud:biscuit-java | < 2.0.0 | 2.0.0 |
| OSV | Go | github.com/biscuit-auth/biscuit-go | all versions | |
| OSV | Hackage | biscuit-haskell | >= 0.1.0.0, < 0.2.0.0 | 0.2.0.0 |
References
- https://eprint.iacr.org/2020/1484 · Exploit, Technical Description, Third Party Advisory, WEB, REPORT
- https://github.com/biscuit-auth/biscuit/security/advisories/GHSA-75rw-34q6-72cr · Exploit, Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2022-31053 · ADVISORY
- https://github.com/advisories/GHSA-75rw-34q6-72cr · ADVISORY
- https://github.com/biscuit-auth/biscuit · PACKAGE
- https://pkg.go.dev/vuln/GO-2022-0564 · WEB
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 13 Jun 2022)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 14 Nov 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 15 Aug 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 17 Jun 2022)