Insufficient Session Expiration Affecting @workos-inc/authkit-nextjs package, versions <0.4.2


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.05% (18th percentile)

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-WORKOSINCAUTHKITNEXTJS-6514823
  • published31 Mar 2024
  • disclosed29 Mar 2024
  • creditUnknown

Introduced: 29 Mar 2024

CVE-2024-29901  (opens in a new tab)
CWE-613  (opens in a new tab)

How to fix?

Upgrade @workos-inc/authkit-nextjs to version 0.4.2 or higher.

Overview

@workos-inc/authkit-nextjs is an Authentication and session helpers for using WorkOS & AuthKit with Next.js

Affected versions of this package are vulnerable to Insufficient Session Expiration that allows an attacker to reuse an expired session by manipulating the x-workos-session header.

CVSS Scores

version 3.1