Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @cyyynthia/tokenize
  4. ›
  5. GMS-2021-22

GMS-2021-22: Insufficient Session Expiration in @cyyynthia/tokenize

November 10, 2021

Impact

A bug introduced 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

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:

  • Open an issue in github.com/cyyynthia/tokenize
  • Email us at cynthia@cynthia.dev

References

  • github.com/advisories/GHSA-jcjx-c3j3-44pr
  • github.com/cyyynthia/tokenize/security/advisories/GHSA-jcjx-c3j3-44pr

Code Behaviors & Features

Detect and mitigate GMS-2021-22 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.1.0 before 1.1.3

Fixed versions

  • 1.1.3

Solution

Upgrade to version 1.1.3 or above.

Source file

npm/@cyyynthia/tokenize/GMS-2021-22.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:45 +0000.