logoalt Hacker News

We found cryptography bugs in the elliptic library using Wycheproof

104 pointsby crescit_eundo01/01/202613 commentsview on HN

Comments

mmscyesterday at 5:39 AM

(2024).

There are other vulnerabilities in that library too. I reported some (with some PRs) https://github.com/indutny/elliptic/pull/338, https://github.com/indutny/elliptic/pull/337, https://github.com/indutny/elliptic/issues/339 but I assume they'll never get fixed.

The library is dead and should be marked as vulnerable on npmjs tbh.

throwaway81523yesterday at 5:29 AM

It's very hard to get stuff right with the secp curves. That's one of the reasons for the move to curve25519 and similar. The book "Guide to Elliptic Curve Cryptography" by Hankerson, Menezes, and Vanstone is mostly very careful step by step instruction of how to do secp* arithmetic properly. It would still be useful to have some formal verification to help the assurance of of any particular implementation.

show 2 replies
binkHNlast Wednesday at 9:36 PM

FYI: two vulnerabilities in elliptic, a widely used JavaScript library for elliptic curve cryptography

show 1 reply
tuananhyesterday at 1:51 AM

> One vulnerability is still not fixed after a 90-day disclosure window that ended in October 2024. It remains unaddressed as of this publication.

curious why now. should they public it last year after 90-day disclosure window ended?

show 2 replies
l34zgl45ylast Wednesday at 11:21 PM

[flagged]