Git Product home page Git Product logo

Comments (4)

SkandaBhat avatar SkandaBhat commented on August 29, 2024

Remediation

Upgrade elliptic to version 6.5.4 or later. For example:

"dependencies": {
  "elliptic": ">=6.5.4"
}

or…

"devDependencies": {
  "elliptic": ">=6.5.4"
}

Always verify the validity and compatibility of suggestions with your codebase.

Details

CVE-2020-28498
moderate severity
Vulnerable versions: < 6.5.4
Patched version: 6.5.4
The npm package elliptic before version 6.5.4 are vulnerable to Cryptographic Issues via the secp256k1 implementation in elliptic/ec/key.js. There is no check to confirm that the public key point passed into the derive function actually exists on the secp256k1 curve. This results in the potential for the private key used in this implementation to be revealed after a number of ECDH operations are performed.

from oracle-contracts.

hrishikeshio avatar hrishikeshio commented on August 29, 2024

Seems a small issue pending for a long time. @dev1644 can you resolve this?

from oracle-contracts.

dev1644 avatar dev1644 commented on August 29, 2024

@hrishikeshio, I & @SkandaBhat already discussed it a few months back, I forgot to update the issue. Here's the conclusion from the investigation.

That security vulnerability is coming from dependencies, Caused by these dependencies -

  • solidity-coverage
  • hardhat-gas-reporter
  • eth-gas-reporter (same as hardhat-gas-reporter) I have removed it.
  • @nomiclabs/hardhat-truffle5

solidity-coverage generates coverage report so not an issue, same with hardhat-gas-reporter.
hardhat-truffle5 is a plugin that we use to execute our tests so no harm here too.

I think it's not worth the effort since the issue is not severe and only is in dev tools.

from oracle-contracts.

SkandaBhat avatar SkandaBhat commented on August 29, 2024

Closing this issue. We have to wait till one of the dependencies is upgraded. Then, dependabot will automatically bump up the version.

from oracle-contracts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.