Vulnerability · Published Aug 1, 2024 · Assigned by GitHub_M
CVE-2024-41949biscuit-rust vulnerable to public key confusion in third party block
Low 3.0
In plain English
A low-severity privilege mismanagement in biscuit-rust from biscuit-auth. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 15% of all known vulnerabilities).
Official description
biscuit-rust is the Rust 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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| biscuit-auth | biscuit-rust | < 5.0.0 |
Weakness: CWE-269 · Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:N/I:L/A:N