Skip to content

Overflow in libsecp256k1

Critical severity GitHub Reviewed Published Aug 25, 2021 to the GitHub Advisory Database • Updated Feb 3, 2023

Package

cargo libsecp256k1 (Rust)

Affected versions

< 0.5.0

Patched versions

0.5.0

Description

An issue was discovered in the libsecp256k1 crate before 0.5.0 for Rust. It can verify an invalid signature because it allows the R or S parameter to be larger than the curve order, aka an overflow.

References

Published by the National Vulnerability Database Aug 8, 2021
Reviewed Aug 18, 2021
Published to the GitHub Advisory Database Aug 25, 2021
Last updated Feb 3, 2023

Severity

Critical
9.8
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CVE ID

CVE-2021-38195

GHSA ID

GHSA-g4vj-x7v9-h82m
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.