Insertion of Sensitive Information into Log File Affecting @workos-inc/authkit-nextjs package, versions <0.13.2


Severity

Recommended
0.0
low
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 Insertion of Sensitive Information into Log File vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-WORKOSINCAUTHKITNEXTJS-8344764
  • published6 Nov 2024
  • disclosed5 Nov 2024
  • creditUnknown

Introduced: 5 Nov 2024

CVE-2024-51752  (opens in a new tab)
CWE-532  (opens in a new tab)

How to fix?

Upgrade @workos-inc/authkit-nextjs to version 0.13.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 Insertion of Sensitive Information into Log File due to the debug flag, which logs sensitive information to the console. An attacker can access refresh tokens.

Note: This is only exploitable if the debug flag is manually enabled, as it is disabled by default.

References

CVSS Scores

version 4.0
version 3.1