Live threats

All CVEs / Biscuitsec

CVE-2022-31053Biscuitsec Biscuit-auth

Critical 9.8 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Biscuit-auth.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
biscuitsecbiscuit-auth≥ 1.0.0 ≤ 1.1.0
biscuitsecbiscuit-go< 2.0.0
biscuitsecbiscuit-haskell0.1.1.0
clever-cloudbiscuit-java< 2.0.0

Official sources

References

Links published by the sources. Open them with care.