CVE-2024-41949 biscuit-rust vulnerable to public key confusion in third party block
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| biscuitsec biscuit-auth | < 5.0.0 | 5.0.0 | Fixed |
| crates.io biscuit-auth(crates.io) | >= 4.0.0, < 5.0.0 | 5.0.0 | Fixed |
| biscuit-auth biscuit-rust | = < 5.0.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io biscuit-auth(crates.io) | >= 4.0.0, < 5.0.0 | 5.0.0 |
| biscuit-auth biscuit-rust | = < 5.0.0 | No fix listed |
| biscuitsec biscuit-auth | < 5.0.0 | 5.0.0 |
References
- https://github.com/biscuit-auth/biscuit-rust/security/advisories/GHSA-p9w4-585h-g3c7 third-party-advisory vendor-advisory
- github.com vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- github.com