Advisory

GHSA-vgrx-w6rg-8fqf

Also known as: CVE-2016-10555

Summary

Forgeable Public/Private Tokens in jwt-simple

Details

Affected versions of the jwt-simple package allow users to select what algorithm the server will use to verify a provided JWT. A malicious actor can use this behaviour to arbitrarily modify the contents of a JWT while still passing verification. For the common use case of the JWT, the end result is a complete authentication bypass with minimal effort.

Recommendation

Update to version 0.3.1 or later.

Additionally, be sure to always specify an algorithm in calls to .decode().

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2018-11-06 23:12 UTC
Modified
2023-11-08 03:58 UTC

Affected packages and fixes

jwt-simple

npm · All systems

Affected

  • introduced 0, fixed 0.3.1 (semver)

Fixed versions

0.3.1

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