Vulnerability · Published Jun 13, 2022 · Assigned by GitHub_M
CVE-2022-31053Signature forgery in Biscuit
Critical 9.8
In plain English
A critical-severity security flaw in biscuit from biscuit-auth. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 64% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/biscuit-auth/biscuit-go | no fix listed | GO-2022-0564 |
| Go | github.com/biscuit-auth/biscuit-go | 2.0.0 | GHSA-75rw-34q6-72cr |
| Maven | com.clever-cloud:biscuit-java | 2.0.0 | GHSA-75rw-34q6-72cr |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| biscuit-auth | biscuit | biscuit-auth >= 1.0.0, < 2.0.0biscuit-haskell = 0.1.1.0com.clever-cloud.biscuit-java < 2.0.0github.com/biscuit-auth/biscuit-go < 2.0 |
Weakness: CWE-347 · Vector: 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-72cr x_refsource_CONFIRM
- https://eprint.iacr.org/2020/1484 x_refsource_MISC