CVE-2024-41948
MEDIUM 5.0CVSS 3.1biscuit-java vulnerable to public key confusion in third party block
biscuit-java is the java implementation of Biscuit, an authentication and authorization token for microservices architectures. 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, which includes the public key of the previous block (used in the signature) and 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. This vulnerability is fixed in 4.0.0.
- Published
- 1 Aug 2024
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-1259
- Also known as
- GHSA-5hcj-rwm6-xmw4
- Sources
- NVDJSONOSV GHSA-5hcj-rwm6-xmw4JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | LOW 3.0 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:N/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | LOW 3.0 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:N/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | biscuitsec | biscuit-javacpe:2.3:a:biscuitsec:biscuit-java:*:*:*:*:*:*:*:* |
>= 3.0.0, < 4.0.0 | 4.0.0 |
| OSV | Maven | org.biscuitsec:biscuit | >= 3.0.0, < 4.0.0 | 4.0.0 |
References
- https://github.com/biscuit-auth/biscuit-java/security/advisories/GHSA-5hcj-rwm6-xmw4 · Third Party Advisory, WEB
- https://github.com/biscuit-auth/biscuit/security/advisories/GHSA-rgqv-mwc3-c78m · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-41948 · ADVISORY
- https://github.com/biscuit-auth/biscuit-java/commit/2e05e7b3f8f2aae38f33294f19419e2d638cb564 · WEB
- https://github.com/biscuit-auth/biscuit-java · PACKAGE
- https://github.com/biscuit-auth/biscuit-java/releases/tag/4.0.0 · WEB
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 1 Aug 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 31 Jul 2024)