{"id":"CVE-2024-42350","summary":"Public key confusion in third party block in Biscuit","details":"Biscuit is an authorization token with decentralized verification, offline attenuation and strong security policy enforcement based on a logic language. Third-party blocks can be generated without transferring the whole token to the third-party authority. Instead, a `ThirdPartyBlock` request can be sent, providing only the necessary info to generate a third-party block and to sign it: 1. the public key of the previous block (used in the signature), 2. the public keys part of the token symbol table (for public key interning in datalog expressions). A third-part block request forged by a malicious user can trick the third-party authority into generating datalog trusting the wrong keypair. Tokens with third-party blocks containing `trusted` annotations generated through a third party block request. This has been addressed in version 4 of the specification. Users are advised to update their implementations to conform. There are no known workarounds for this vulnerability.","aliases":["CVE-2024-41949","GHSA-47cq-pc2v-3rmp","GHSA-p9w4-585h-g3c7","GHSA-rgqv-mwc3-c78m","HSEC-2024-0009"],"modified":"2026-08-12T03:51:48.362890342Z","published":"2024-08-05T19:47:44.903Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42350.json","unresolved_ranges":[{"source":"AFFECTED_FIELD","extracted_events":[{"fixed":"4"}]}],"cna_assigner":"GitHub_M","cwe_ids":["CWE-668"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42350.json"},{"type":"ADVISORY","url":"https://github.com/biscuit-auth/biscuit/security/advisories/GHSA-rgqv-mwc3-c78m"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-42350"},{"type":"FIX","url":"https://github.com/biscuit-auth/biscuit/commit/c87cbb5d778964d6574df3e9e6579567cad12fff"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/eclipse-biscuit/biscuit","events":[{"introduced":"0"},{"fixed":"c87cbb5d778964d6574df3e9e6579567cad12fff"}],"database_specific":{"source":"REFERENCES"}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-42350.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:N/I:L/A:N"}]}