# CVE-2024-42350: Public key confusion in third party block in Biscuit

- Severity: Low 3.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.47%, higher than 33% of CVEs (2026-11-30)
- Published: 2024-07-31T21:15:41.000Z
- Modified: 2026-06-17T07:49:18.473Z
- Also known as: GHSA-p9w4-585h-g3c7, GHSA-47cq-pc2v-3rmp, GHSA-rgqv-mwc3-c78m, HSEC-2024-0009
- Related: CVE-2024-41949
- Weaknesses: CWE-269, CWE-668
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- biscuit-auth biscuit: < 4
- biscuit-auth (crates.io): from 4.0.0 before 5.0.0
- biscuit-haskell (Hackage): from 0.3.0.0 before 0.4.0.0

## Every score

- GitHub_M: CVSS:3.1 3.0 Low `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:N/I:L/A:N`
- GitHub: CVSS:3.1 3.0 Low `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:N/I:L/A:N`
- GitHub: CVSS:4.0 Low `CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N`

## References

- <https://github.com/biscuit-auth/biscuit/security/advisories/GHSA-rgqv-mwc3-c78m> (web)
- <https://github.com/biscuit-auth/biscuit/commit/c87cbb5d778964d6574df3e9e6579567cad12fff>
- <https://github.com/biscuit-auth/biscuit-rust/security/advisories/GHSA-p9w4-585h-g3c7> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-41949> (advisory)
- <https://github.com/biscuit-auth/biscuit-rust> (package)
- <https://github.com/biscuit-auth/biscuit-haskell/security/advisories/GHSA-47cq-pc2v-3rmp> (advisory)
- <https://github.com/biscuit-auth/biscuit-haskell/pull/93> (fix)

## Sources

- CVE List: [CVE-2024-42350](https://www.cve.org/CVERecord?id=CVE-2024-42350), CVE Terms of Use, modified 2024-08-05
- GitHub Advisory Database: [GHSA-p9w4-585h-g3c7](https://github.com/advisories/GHSA-p9w4-585h-g3c7), CC-BY-4.0, modified 2025-10-15
- Haskell Security Advisories: [HSEC-2024-0009](https://osv.dev/vulnerability/HSEC-2024-0009), CC0-1.0, modified 2025-11-14
- NVD: [CVE-2024-42350](https://nvd.nist.gov/vuln/detail/CVE-2024-42350), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-42350 · Whole record: https://cve.day/CVE-2024-42350.json · Rebuilt by cve.day 2026-11-25T22:58:43.801Z
