{"id":"CVE-2024-42350","published":"2024-08-05T19:47:44Z","modified":"2024-08-05T20:23:35Z","title":"Public key confusion in third party block in Biscuit","vendor":"biscuit-auth","product":"biscuit","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":3,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00291,"percentile":0.21615,"provenance":"source"},"cwes":[{"id":"CWE-668","name":"Exposure of Resource to Wrong Sphere"}],"references":[{"url":"https://github.com/biscuit-auth/biscuit/security/advisories/GHSA-rgqv-mwc3-c78m","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/biscuit-auth/biscuit/commit/c87cbb5d778964d6574df3e9e6579567cad12fff","tags":["x_refsource_MISC"]}],"priority":{"score":6.4,"factors":[{"name":"EPSS percentile","points":4.32},{"name":"CVSS severity","points":2.1}]},"vendorSlug":"biscuit-auth","affectedVersions":[{"vendor":"biscuit-auth","product":"biscuit","versions":["< 4"]}],"euvd":{"id":"EUVD-2024-39567","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-biscuit-auth-biscuit-java-cve-2024-41948","parents":[{"from":"CVE-2024-41948","to":"CVE-2024-42350","relation":"related","confidence":"high","kind":"lineage","evidence":[{"kind":"osv-related","provenance":"source","id":"GHSA-5hcj-rwm6-xmw4","via":"reference","url":"https://github.com/biscuit-auth/biscuit/security/advisories/GHSA-rgqv-mwc3-c78m"}]},{"from":"CVE-2024-41949","to":"CVE-2024-42350","relation":"related","confidence":"high","kind":"lineage","evidence":[{"kind":"osv-related","provenance":"source","id":"GHSA-p9w4-585h-g3c7","via":"reference","url":"https://github.com/biscuit-auth/biscuit-rust/security/advisories/GHSA-p9w4-585h-g3c7"}]}]}}