GHSA-75rw-34q6-72cr

Suggest an improvement
Source
https://github.com/advisories/GHSA-75rw-34q6-72cr
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/06/GHSA-75rw-34q6-72cr/GHSA-75rw-34q6-72cr.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-75rw-34q6-72cr
Aliases
Related
Published
2022-06-17T00:38:03Z
Modified
2023-11-08T04:09:24.375057Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Signature forgery in Biscuit
Details

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: * Open an issue in biscuit-auth/biscuit * Ask questions on Matrix

Database specific
{
    "nvd_published_at": "2022-06-13T20:15:00Z",
    "github_reviewed_at": "2022-06-17T00:38:03Z",
    "severity": "CRITICAL",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-347"
    ]
}
References

Affected packages

crates.io / biscuit-auth

Package

Affected ranges

Type
SEMVER
Events
Introduced
1.0.0
Fixed
2.0.0

Go / github.com/biscuit-auth/biscuit-go

Package

Name
github.com/biscuit-auth/biscuit-go
View open source insights on deps.dev
Purl
pkg:golang/github.com/biscuit-auth/biscuit-go

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.0.0

Maven / com.clever-cloud:biscuit-java

Package

Name
com.clever-cloud:biscuit-java
View open source insights on deps.dev
Purl
pkg:maven/com.clever-cloud/biscuit-java

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.0.0

Affected versions

0.*

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.*

1.0.0
1.0.9
1.0.10
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4