CISA list

● npm package

jsonwebtoken

Jsonwebtoken has four security advisories. The newest release any of them names as the fix is 9.0.0.

As of , jsonwebtoken has four security advisories. The newest release any of them names as the fix is 9.0.0.

Your version, and the version to upgrade to

Find the row your installed version falls in. The second column is the first release after it that none of the advisories lists as affected; a release outside every row is one no advisory lists. That is what the advisories say, not a promise that a release is free of flaws.
If you runUpgrade toAdvisories
Before 9.0.09.0.04 advisories

Security advisories, newest first

Security advisories, newest first
AdvisoryWhat it isAffectsFixed inPublished
CVE-2022-23541GHSA-hjrf-2m68-5959jsonwebtoken's insecure implementation of key retrieval function could lead to Forgeable Public/Private Tokens from RSA to HMACModerate severityBefore 9.0.09.0.0
CVE-2022-23540GHSA-qwph-4952-7xr6jsonwebtoken vulnerable to signature validation bypass due to insecure default algorithm in jwt.verify()Moderate severityBefore 9.0.09.0.0
CVE-2022-23539GHSA-8cf7-32gw-wr33jsonwebtoken unrestricted key type could lead to legacy keys usageHigh severityBefore 9.0.09.0.0
CVE-2015-9235GHSA-c7hr-j4mj-j2w6Verification Bypass in jsonwebtokenCritical severityBefore 4.2.24.2.2

Other npm packages

Sources
  • Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0