Advisory

GHSA-jcjx-c3j3-44pr

Also known as: None

Summary

Insufficient Session Expiration in @cyyynthia/tokenize

Details

Impact
A bug introduced in version 1.1.0 made Tokenize generate faulty tokens with NaN as a generation date. As a result, tokens would not properly expire and remain valid regardless of the lastTokenReset field.

Patches
Version 1.1.3 contains a patch that'll invalidate these faulty tokens and make new ones behave as expected.

Workarounds
None. Tokens do not hold the necessary information to perform invalidation anymore.

References
PR #1

For more information
If you have any questions or comments about this advisory:

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-11-10 16:44 UTC
Modified
2021-11-08 21:09 UTC

Affected packages and fixes

@cyyynthia/tokenize

npm · All systems

Affected

  • introduced 1.1.0, fixed 1.1.3 (semver)

Fixed versions

1.1.3

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