GitHub Advisoryadvisory · npm

GHSA-c7hr-j4mj-j2w6 Verification Bypass in jsonwebtoken

CRITICAL Published 2018-10-09 Modified 2020-08-31 Official page ↗
Aliases
CVE-2015-9235
Ecosystem
npm
Packages
jsonwebtoken
Severity
Critical
Weaknesses
CWE-20
Reviewed
2020-06-16

Affected packages

• npm jsonwebtoken: < 4.2.2 → fixed in 4.2.2

Description

Versions 4.2.1 and earlier of `jsonwebtoken` are affected by a verification bypass vulnerability. This is a result of weak validation of the JWT algorithm type, occuring when an attacker is allowed to arbitrarily specify the JWT algorithm. Recommendation Update to version 4.2.2 or later.

Related

Alias · CVE (1)

  • CVE-2015-9235 In jsonwebtoken node module before 4.2.2 it is possible for an attacker to bypass verification when a token digitally signed with an… vulnerability

Weakness · CWE (1)

  • CWE-20 Improper Input Validation weakness

References