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

Elliptic's private key extraction in ECDSA upon signing a malformed input #6301

Open
SvenMeyer opened this issue Feb 16, 2025 · 1 comment
Open
Assignees

Comments

@SvenMeyer
Copy link

Version of Hardhat

v2.22.18

What happened?

https://github.com/advisories/GHSA-vjh7-7g9h-fjfh/dependabot

Dependabot cannot update elliptic to a non-vulnerable version
The latest possible version that can be installed is 6.5.4 because of the following conflicting dependencies:

@nomicfoundation/[email protected] requires [email protected] via a transitive dependency on @ethersproject/[email protected]
@nomicfoundation/[email protected] requires [email protected] via a transitive dependency on @ethersproject/[email protected]
@nomicfoundation/[email protected] requires [email protected] via a transitive dependency on @ethersproject/[email protected]
[email protected] requires [email protected] via a transitive dependency on @ethersproject/[email protected]
@nomicfoundation/[email protected] requires [email protected] via a transitive dependency on @ethersproject/[email protected]
@nomicfoundation/[email protected] requires [email protected] via a transitive dependency on @ethersproject/[email protected]
@nomicfoundation/[email protected] requires [email protected] via a transitive dependency on @ethersproject/[email protected]
@typechain/[email protected] requires [email protected] via a transitive dependency on @ethersproject/[email protected]
[email protected] requires [email protected] via a transitive dependency on @ethersproject/[email protected]
[email protected] requires [email protected] via a transitive dependency on @ethersproject/[email protected]
[email protected] requires [email protected] via a transitive dependency on @ethersproject/[email protected]
No patched version available for elliptic
The earliest fixed version is 6.6.1.

Minimal reproduction steps

tried github to present a fix for my repository

Search terms

No response

@OlivierdeSwart
Copy link

OlivierdeSwart commented Feb 20, 2025

So is there a fix for this issue? I'm considering a manual override like this in package.json:

"pnpm": {
"overrides": {
"elliptic": "6.6.1",
"@ethersproject/signing-key": "5.7.1"
},
"resolutions": {
"elliptic": "6.6.1"
}
}

And reinstalling, but I am wary of interfering with deps through overrides.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

3 participants