Advisory

GHSA-c7hr-j4mj-j2w6

Also known as: CVE-2015-9235

Summary

Verification Bypass in jsonwebtoken

Details

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2018-10-09 00:38 UTC
Modified
2026-09-10 03:48 UTC

Affected packages and fixes

jsonwebtoken

npm · All systems

Affected

  • introduced 0, fixed 4.2.2 (semver)

Fixed versions

4.2.2

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences