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.

Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)1.0%top 36.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Gogithub.com/biscuit-auth/biscuit-gono fix listedGO-2022-0564
Gogithub.com/biscuit-auth/biscuit-go2.0.0GHSA-75rw-34q6-72cr
Mavencom.clever-cloud:biscuit-java2.0.0GHSA-75rw-34q6-72cr

Affected products (as reported)

VendorProductVersions
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