# GHSA-jcjx-c3j3-44pr: Insufficient Session Expiration in @cyyynthia/tokenize

- Severity: High (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2021-11-10T16:44:12.000Z
- Modified: 2021-11-08T21:09:02.000Z
- Weaknesses: CWE-613

## Description

### 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:
* Open an issue in [github.com/cyyynthia/tokenize](https://github.com/cyyynthia/tokenize)
* Email us at [cynthia@cynthia.dev](mailto:cynthia@cynthia.dev)

(As written by GitHub Advisory Database.)

## Affected

- @cyyynthia/tokenize (npm): from 1.1.0 before 1.1.3

## References

- <https://github.com/cyyynthia/tokenize/security/advisories/GHSA-jcjx-c3j3-44pr> (web)
- <https://github.com/cyyynthia/tokenize> (package)

## Sources

- GitHub Advisory Database: [GHSA-jcjx-c3j3-44pr](https://github.com/advisories/GHSA-jcjx-c3j3-44pr), CC-BY-4.0, modified 2021-11-08

---

Page: https://cve.day/GHSA-jcjx-c3j3-44pr · Whole record: https://cve.day/GHSA-jcjx-c3j3-44pr.json · Rebuilt by cve.day 2026-11-25T22:56:45.758Z
