Advisory

GHSA-gjcw-v447-2w7q

Also known as: CVE-2016-1000223

Summary

Forgeable Public/Private Tokens in jws

Details

Affected versions of the jws 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 as a bearer token, the end result is a complete authentication bypass with minimal effort.

Recommendation

Update to version 3.0.0 or later.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2020-09-01 15:23 UTC
Modified
2023-11-08 03:58 UTC

Affected packages and fixes

jws

npm · All systems

Affected

  • introduced 0, fixed 3.0.0 (semver)

Fixed versions

3.0.0

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