Timing Attack Affecting ecdsa package, versions >=0.0.0
Snyk CVSS
Attack Complexity
High
Integrity
High
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-RUBY-ECDSA-512290
- published 13 Nov 2019
- disclosed 2 Oct 2019
- credit Centre for Research on Cryptography and Security
How to fix?
There is no fixed version for ecdsa
.
Overview
ecdsa is a gem that implements the Ellipctic Curve Digital Signature Algorithm (ECDSA) almost entirely in pure Ruby.
Affected versions of this package are vulnerable to Timing Attack. Practical recovery of the long-term private key generated by the library is possible under certain conditions. Leakage of bit-length of a scalar during scalar multiplication is possible on an elliptic curve which might allow practical recovery of the long-term private key.