Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependabot alerts being raised for elliptic #319

Closed
justinclift opened this issue Aug 6, 2024 · 9 comments
Closed

Dependabot alerts being raised for elliptic #319

justinclift opened this issue Aug 6, 2024 · 9 comments

Comments

@justinclift
Copy link

justinclift commented Aug 6, 2024

GitHub's Dependabot has today started creating alerts in repositories using elliptic.

@indutny is this stuff (below) already on people's radar for looking into? 😄

Elliptic allows BER-encoded signatures

In the Elliptic package 6.5.6 for Node.js, ECDSA signature malleability occurs because BER-encoded signatures are allowed.

Affected versions: >= 5.2.1, <= 6.5.6

Fixed versions: None

Elliptic's ECDSA missing check for whether leading bit of r and s is zero

In the Elliptic package 6.5.6 for Node.js, ECDSA signature malleability occurs because there is a missing check for whether the leading bit of r and s is zero.

Affected versions: >= 2.0.0, <= 6.5.6

Fixed versions: None

Elliptic's EDDSA missing signature length check

In the Elliptic package 6.5.6 for Node.js, EDDSA signature malleability occurs because there is a missing signature length check, and thus zero-valued bytes can be removed or appended.

Affected versions: >= 4.0.0, <= 6.5.6

Fixed versions: None

@justinclift
Copy link
Author

This seems to be the source of the Dependabot alerts: #317

@mfernandes-alcumus
Copy link

Mend is flaggin this as vulnerability can this be resolved please. its causing us a lot of concerns

@ravenwilde
Copy link

ravenwilde commented Aug 13, 2024

Mend is flaggin this as vulnerability can this be resolved please. its causing us a lot of concerns

Yes, our dependabot would be happy if a fix for this made it into a new release.

@vanthorng
Copy link

Is there any way that we can fix this issue, as it is showing no patch available.

@justinclift
Copy link
Author

justinclift commented Aug 14, 2024

Looks like a new 6.5.7 release has just been tagged, which includes the PR that solves the Dependabot issues: https://github.com/indutny/elliptic/releases/tag/v6.5.7

It's not yet showing up on the npm package repository, but when it does (maybe later today?) then hopefully we can all just update our project dependencies without problems.


The new release is showing up on the npm repository now, so we can all likely update our projects to use it and fix these Dependabot warnings.

@justinclift
Copy link
Author

Thanks for getting the PR merged and the new release sorted out @indutny. 😄

@indutny
Copy link
Owner

indutny commented Aug 14, 2024

Happy to help, sorry for not doing it on time!

@justinclift
Copy link
Author

No worries, they're only Low severity Dependabot warnings. It's all good. 😄

@justinclift
Copy link
Author

justinclift commented Aug 14, 2024

Closing this issue, as the new release does indeed fix the Dependabot warnings. Confirmed it in one of my project repos.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants