Skip to content
OpenAdvisories
Critical · 9.8 CVE-2022-31053 EUVD-2022-5973GHSA-75rw-34q6-72crGO-2022-0564HSEC-2023-0002

Signature forgery in Biscuit

Published Jun 13, 2022 · Updated Apr 22, 2025 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
biscuit-auth biscuit biscuit-auth >= 1.0.0, < 2.0.0, biscuit-haskell = 0.1.1.0, com.clever-cloud.biscuit-java < 2.0.0, github.com/biscuit-auth/biscuit-go < 2.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io biscuit-auth >= 1.0.0, < 2.0.0 2.0.0 GHSA-75rw-34q6-72cr
Go github.com/biscuit-auth/biscuit-go all versions — GO-2022-0564
Go github.com/biscuit-auth/biscuit-go < 2.0.0 2.0.0 GHSA-75rw-34q6-72cr
Hackage biscuit-haskell >= 0.1.0.0, < 0.2.0.0 0.2.0.0 HSEC-2023-0002
Maven com.clever-cloud:biscuit-java < 2.0.0 2.0.0 GHSA-75rw-34q6-72cr

References