CVE-2022-31053 Signature forgery in Biscuit
Attackers can forge valid signatures to create tokens with arbitrary access levels, requiring an upgrade to specification version 2.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-31053?
CVE-2022-31053 is a critical vulnerability in biscuit-auth biscuit, published on 13 Jun 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Weakness: CWE-347
Which versions are affected by CVE-2022-31053?
8 open source packages ship an affected version, including github.com/biscuit-auth/biscuit-go, biscuit-haskell and com.clever-cloud:biscuit-java. It affects 4 products.
| Package | Affected | Fixed in |
|---|---|---|
github.com/biscuit-auth/biscuit-go Go | All versions | None |
github.com/biscuit-auth/biscuit-go Go | All versions | 2.0.0 |
github.com/biscuit-auth/biscuit-go Go | All versions | 2.0.0 |
biscuit-haskell Hackage | From 0.1.0.0 | 0.2.0.0 |
com.clever-cloud:biscuit-java Maven | All versions | 2.0.0 |
com.clever-cloud:biscuit-java Maven | All versions | 2.0.0 |
2 more packages
biscuit-auth crates.io | From 1.0.0 | 2.0.0 |
biscuit-auth crates.io | From 1.0.0 | 2.0.0 |
Products include Biscuitsec Biscuit-Auth, Biscuitsec Biscuit-Go, Biscuitsec Biscuit-Haskell, Clever-Cloud Biscuit-Java.
How do I fix CVE-2022-31053?
Upgrade github.com/biscuit-auth/biscuit-go to 2.0.0 or later.
Is CVE-2022-31053 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-31053 exists.
Other vulnerabilities in biscuit-auth biscuit
Sources
Also known as GHSA-75rw-34q6-72cr, GO-2022-0564, HSEC-2023-0002.