Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS03NXJ3LTM0cTYtNzJjcs4AArtB

Signature forgery in Biscuit

Impact

The paper Cryptanalysis of Aggregate Γ-Signature and Practical Countermeasures in Application to Bitcoin defines a way to forge valid Γ-signatures, an algorithm that is used in the Biscuit specification version 1.
It would allow an attacker to create a token with any access level.

As Biscuit v1 was still an early version and not broadly deployed, we were able to contact all known users of Biscuit v1 and help them migrate to Biscuit v2.
We are not aware of any active exploitation of this vulnerability.

Patches

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.

Workarounds

There is no known workaround, any use of Biscuit v1 should be migrated to v2.

References

Cryptanalysis of Aggregate Γ-Signature and Practical Countermeasures in Application to Bitcoin

For more information

If you have any questions or comments about this advisory:

Permalink: https://github.com/advisories/GHSA-75rw-34q6-72cr
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS03NXJ3LTM0cTYtNzJjcs4AArtB
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: almost 2 years ago
Updated: about 1 year ago


CVSS Score: 9.8
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Identifiers: GHSA-75rw-34q6-72cr, CVE-2022-31053
References: Repository: https://github.com/biscuit-auth/biscuit
Blast Radius: 12.3

Affected Packages

go:github.com/biscuit-auth/biscuit-go
Dependent packages: 0
Dependent repositories: 1
Downloads:
Affected Version Ranges: < 2.0.0
Fixed in: 2.0.0
All affected versions: 1.0.0
All unaffected versions:
maven:com.clever-cloud:biscuit-java
Dependent packages: 4
Dependent repositories: 3
Downloads:
Affected Version Ranges: < 2.0.0
Fixed in: 2.0.0
All affected versions: 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5, 0.2.6, 0.2.7, 0.3.0, 0.3.1, 0.4.0, 0.4.1, 0.5.0, 0.5.1, 0.6.1, 1.0.0, 1.0.9, 1.0.10, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4
All unaffected versions: 2.0.0, 2.1.0, 2.2.0, 2.2.1
cargo:biscuit-auth
Dependent packages: 9
Dependent repositories: 6
Downloads: 33,979 total
Affected Version Ranges: >= 1.0.0, < 2.0.0
Fixed in: 2.0.0
All affected versions: 1.0.0, 1.0.1, 1.1.0, 1.2.0
All unaffected versions: 0.1.0, 0.2.0, 0.3.0, 0.4.0, 0.5.0, 0.5.1, 0.5.2, 0.6.0, 0.7.0, 0.8.0, 0.9.0, 2.0.0, 2.0.1, 2.1.0, 2.2.0, 3.0.0, 3.1.0, 3.2.0, 4.0.0, 4.1.0, 4.1.1