CVE-2022-31053Biscuitsec Biscuit-auth
Critical 9.8 No auth needed
Follow: this CVE · Biscuitsec · Biscuitsec Biscuit-auth We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 0.9% probability of exploitation in 30 days · percentile 58
- Auth required
- No
- Published
- Jun 13, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-347
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Biscuit-auth.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/biscuit-auth/biscuit-go |
< 2.0.0 |
2.0.0 |
go get github.com/biscuit-auth/biscuit-go@v2.0.0 |
| Go | github.com/biscuit-auth/biscuit-go |
all |
no fixed version | — |
| Maven | com.clever-cloud:biscuit-java |
< 2.0.0 |
2.0.0 |
— |
| crates.io | biscuit-auth |
≥ 1.0.0 < 2.0.0 |
2.0.0 |
cargo update -p biscuit-auth --precise 2.0.0 |
Per OSV / GitHub Advisories (GHSA-75rw-34q6-72cr, GO-2022-0564). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| biscuitsec | biscuit-auth | ≥ 1.0.0 ≤ 1.1.0 |
| biscuitsec | biscuit-go | < 2.0.0 |
| biscuitsec | biscuit-haskell | 0.1.1.0 |
| clever-cloud | biscuit-java | < 2.0.0 |
Official sources
References
Links published by the sources. Open them with care.
- eprint.iacr.org Exploit Technical Description Third Party Advisory
- github.com Exploit Third Party Advisory