Security mailing lists by PureSourceCode

GHSA-jcjx-c3j3-44pr

HIGH

Insufficient Session Expiration in @cyyynthia/tokenize

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:

Published
10 Nov 2021
Last modified
8 Nov 2021
Weakness
CWE-613
Sources
OSVJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV npm @cyyynthia/tokenize >= 1.1.0, < 1.1.3 1.1.3

References

History

  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 10 Nov 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.