{"id":"GHSA-75rw-34q6-72cr","summary":"Signature forgery in Biscuit","details":"### Impact\n\nThe paper [Cryptanalysis of Aggregate Γ-Signature and Practical Countermeasures in Application to Bitcoin](https://eprint.iacr.org/2020/1484) defines a way to forge valid Γ-signatures, an algorithm that is used in the Biscuit specification version 1.\nIt would allow an attacker to create a token with any access level.\n\nAs 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.\nWe are not aware of any active exploitation of this vulnerability.\n\n### Patches\n\nThe 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.\n\n### Workarounds\n\nThere is no known workaround, any use of Biscuit v1 should be migrated to v2.\n\n### References\n[Cryptanalysis of Aggregate Γ-Signature and Practical Countermeasures in Application to Bitcoin](https://eprint.iacr.org/2020/1484)\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [biscuit-auth/biscuit](https://github.com/biscuit-auth/biscuit)\n* Ask questions on [Matrix](https://matrix.to/#/#biscuit-auth:matrix.org)\n","aliases":["CVE-2022-31053","GO-2022-0564","HSEC-2023-0002"],"modified":"2026-02-04T04:12:23.445350Z","published":"2022-06-17T00:38:03Z","related":["HSEC-2023-0002"],"database_specific":{"severity":"CRITICAL","nvd_published_at":"2022-06-13T20:15:00Z","github_reviewed_at":"2022-06-17T00:38:03Z","github_reviewed":true,"cwe_ids":["CWE-347"]},"references":[{"type":"WEB","url":"https://github.com/biscuit-auth/biscuit/security/advisories/GHSA-75rw-34q6-72cr"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31053"},{"type":"WEB","url":"https://eprint.iacr.org/2020/1484"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-75rw-34q6-72cr"},{"type":"PACKAGE","url":"https://github.com/biscuit-auth/biscuit"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2022-0564"}],"affected":[{"package":{"name":"biscuit-auth","ecosystem":"crates.io","purl":"pkg:cargo/biscuit-auth"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.0.0"},{"fixed":"2.0.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/06/GHSA-75rw-34q6-72cr/GHSA-75rw-34q6-72cr.json"}},{"package":{"name":"github.com/biscuit-auth/biscuit-go","ecosystem":"Go","purl":"pkg:golang/github.com/biscuit-auth/biscuit-go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.0.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/06/GHSA-75rw-34q6-72cr/GHSA-75rw-34q6-72cr.json"}},{"package":{"name":"com.clever-cloud:biscuit-java","ecosystem":"Maven","purl":"pkg:maven/com.clever-cloud/biscuit-java"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.0"}]}],"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.10","1.0.9","1.1.0","1.1.1","1.1.2","1.1.3","1.1.4"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/06/GHSA-75rw-34q6-72cr/GHSA-75rw-34q6-72cr.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}