jwt-simple
Affected
- introduced
0, fixed0.3.1(semver)
Fixed versions
0.3.1
Fix
- Fixed version
0.3.1npm install [email protected]
Advisory
Also known as: CVE-2016-10555
Forgeable Public/Private Tokens in jwt-simple
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().
Critical Basis: The source's own band: CRITICAL
0, fixed 0.3.1 (semver)0.3.1
0.3.1npm install [email protected]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
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0