Description
The curve25519-dalek crate before 4.1.3 for Rust has a constant-time operation on elliptic curve scalars that is removed by LLVM.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| dalek-cryptography | curve25519-dalek | < 4.1.3 | 4.1.3 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | rust-curve25519-dalek | 4.1.3+20240618+dfsg-1 | — |
| Debian 13 | rust-curve25519-dalek | 4.1.3+20240618+dfsg-1 | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | atuin | 18.3.0-r2 | — |
| Wolfi rolling | rye | 0.38.0-r0 | — |
| Wolfi rolling | wash | 0.30.0-r0 | — |
| Wolfi rolling | wasmcloud | 1.1.0-r0 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| crates.io | curve25519-dalek | < 4.1.3 | 4.1.3 | GHSA-x4gp-pqpj-f43q |
| crates.io | curve25519-dalek | >= 0.0.0-0, < 4.1.3 | 4.1.3 | RUSTSEC-2024-0344 |