The Elliptic package 6.5.2 for Node.js allows ECDSA signature malleability via variations in encoding, leading '\0' bytes, or integer overflows. This could conceivably have a security-relevant impact if an application relied on a single canonical signature.
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
Link | Tags |
---|---|
https://www.npmjs.com/package/elliptic | third party advisory |
https://github.com/indutny/elliptic/issues/226 | third party advisory exploit |
https://yondon.blog/2019/01/01/how-not-to-use-ecdsa/ | third party advisory |
https://medium.com/%40herman_10687/malleability-attack-why-it-matters-7b5f59fb99a4 |