Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. jsonwebtoken
  4. ›
  5. CVE-2015-9235

CVE-2015-9235: Use of a Broken or Risky Cryptographic Algorithm

October 9, 2018 (updated January 8, 2021)

In jsonwebtoken node module before 4.2.2 it is possible for an attacker to bypass verification when a token digitally signed with an asymmetric key (RS/ES family) of algorithms but instead the attacker send a token digitally signed with a symmetric algorithm (HS* family).

References

  • auth0.com/blog/2015/03/31/critical-vulnerabilities-in-json-web-token-libraries/
  • github.com/advisories/GHSA-c7hr-j4mj-j2w6
  • github.com/auth0/node-jsonwebtoken/commit/1bb584bc382295eeb7ee8c4452a673a77a68b687
  • nodesecurity.io/advisories/17
  • nvd.nist.gov/vuln/detail/CVE-2015-9235
  • www.npmjs.com/advisories/17
  • www.timmclean.net/2015/02/25/jwt-alg-none.html

Code Behaviors & Features

Detect and mitigate CVE-2015-9235 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4.2.2

Fixed versions

  • 4.2.2

Solution

Upgrade to version 4.2.2 or above.

Impact 9.8 CRITICAL

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-327: Use of a Broken or Risky Cryptographic Algorithm

Source file

npm/jsonwebtoken/CVE-2015-9235.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:52 +0000.