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

vulnerable package version of jsonwebtoken #12

Open
MarciB-IT opened this issue Dec 20, 2023 · 0 comments
Open

vulnerable package version of jsonwebtoken #12

MarciB-IT opened this issue Dec 20, 2023 · 0 comments

Comments

@MarciB-IT
Copy link

While I was doing a npm audit for my Repo, I saw that there is a vulnerab package used and should be updated:

# npm audit report

jsonwebtoken  <=8.5.1
Severity: moderate
jsonwebtoken unrestricted key type could lead to legacy keys usage  - https://github.com/advisories/GHSA-8cf7-32gw-wr33
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

No fix available

node_modules/jsonwebtoken
  @serverless-jwt/jwt-verifier  *
  Depends on vulnerable versions of jsonwebtoken
  node_modules/@serverless-jwt/jwt-verifier

2 moderate severity vulnerabilities

The fix should thus be to use version 9 of jsonwebtoken.

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

1 participant