mirror of
https://github.com/OMGeeky/advisory-db.git
synced 2026-01-01 09:10:25 +01:00
18
crates/libsecp256k1/RUSTSEC-0000-0000.md
Normal file
18
crates/libsecp256k1/RUSTSEC-0000-0000.md
Normal file
@@ -0,0 +1,18 @@
|
||||
```toml
|
||||
[advisory]
|
||||
id = "RUSTSEC-0000-0000"
|
||||
package = "libsecp256k1"
|
||||
date = "2021-07-13"
|
||||
url = "https://github.com/paritytech/libsecp256k1/pull/67"
|
||||
categories = ["crypto-failure"]
|
||||
[versions]
|
||||
patched = [">= 0.5.0"]
|
||||
```
|
||||
|
||||
# libsecp256k1 allows overflowing signatures
|
||||
|
||||
libsecp256k1 accepts signatures whose R or S parameter is larger than the
|
||||
secp256k1 curve order, which differs from other implementations. This could
|
||||
lead to invalid signatures being verified.
|
||||
|
||||
The error is resolved in 0.5.0 by adding a `check_overflow` flag.
|
||||
Reference in New Issue
Block a user