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

[Bug] jsonwebtoken <=8.5.1 #127

Closed
buildpeak opened this issue Dec 22, 2022 · 1 comment
Closed

[Bug] jsonwebtoken <=8.5.1 #127

buildpeak opened this issue Dec 22, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@buildpeak
Copy link

npm audit fix error
jsonwebtoken <=8.5.1
Severity: high

To Reproduce
Steps to reproduce the behavior:

  1. Run npm install fireblocks-sdk
  2. Run npm audit fix
  3. See below error:
# npm audit report

jsonwebtoken  <=8.5.1
Severity: high
jsonwebtoken's insecure implementation of key retrieval function could lead to Forgeable Public/Private Tokens from RSA to HMAC - https://github.com/advisories/GHSA-hjrf-2m68-5959
jsonwebtoken vulnerable to signature validation bypass due to insecure default algorithm in jwt.verify() - https://github.com/advisories/GHSA-qwph-4952-7xr6
jsonwebtoken unrestricted key type could lead to legacy keys usage  - https://github.com/advisories/GHSA-8cf7-32gw-wr33
jsonwebtoken has insecure input validation in jwt.verify function - https://github.com/advisories/GHSA-27h2-hvpr-p74q
No fix available
node_modules/jsonwebtoken
  fireblocks-sdk  *
  Depends on vulnerable versions of jsonwebtoken
  node_modules/fireblocks-sdk

Version:

  • fireblocks-sdk version: 2.5.3
  • npm version: 8.19.2
  • node version: v16.14.2
@buildpeak buildpeak added the bug Something isn't working label Dec 22, 2022
@buildpeak buildpeak changed the title [Bug] [Bug] jsonwebtoken <=8.5.1 Dec 22, 2022
@yarinvak
Copy link
Contributor

Fixed in #132
Thanks for reporting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants