crates.io/secp256k1: unknown
Unsound API in `secp256k1` allows use-after-free and invalid deallocation from safe code
Action: Upgrade secp256k1 to 0.22.2 or later.
cargo update -p secp256k1 --precise 0.22.2cargo update -p secp256k1 --precise 0.23.5cargo update -p secp256k1 --precise 0.24.2Affected
| introduced | fixed | last affected |
|---|---|---|
| 0.14.0 | 0.22.2 | - |
| 0.23.0 | 0.23.5 | - |
| 0.24.0 | 0.24.2 | - |
Fixed versions
| 0.22.2 | 0.23.5 | 0.24.2 |
Sources
- osv: RUSTSEC-2022-0070
- https://crates.io/crates/secp256k1
- https://rustsec.org/advisories/RUSTSEC-2022-0070.html
- https://github.com/rust-bitcoin/rust-secp256k1/issues/543
- https://github.com/rust-bitcoin/rust-secp256k1/pull/548
published · modified · JSON