Insufficient Session Expiration Affecting @cyyynthia/tokenize package, versions <1.1.3


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Insufficient Session Expiration vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-CYYYNTHIATOKENIZE-1915381
  • published11 Nov 2021
  • disclosed10 Nov 2021
  • creditWilliam Wang

Introduced: 10 Nov 2021

CVE NOT AVAILABLE CWE-613  (opens in a new tab)

How to fix?

Upgrade @cyyynthia/tokenize to version 1.1.3 or higher.

Overview

@cyyynthia/tokenize is an A universal token format for authentication. Designed to be secure, flexible, and usable anywhere.

Affected versions of this package are vulnerable to Insufficient Session Expiration which 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.

CVSS Scores

version 3.1