Vulnerability · Published Nov 5, 2024 · Assigned by GitHub_M

CVE-2024-51752Refresh tokens are logged when the debug flag is enabled in @workos-inc/authkit-nextjs

Low 2.1

In plain English

A low-severity sensitive data in logs in authkit-nextjs from workos. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 16% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)2.1Low
Exploit odds (30 days)0.2%top 84.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

The AuthKit library for Next.js provides convenient helpers for authentication and session management using WorkOS & AuthKit with Next.js. In affected versions refresh tokens are logged to the console when the disabled by default `debug` flag, is enabled. This issue has been patched in version 0.13.2 and all users are advised to upgrade. There are no known workarounds for this vulnerability.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npm@workos-inc/authkit-nextjs0.13.2GHSA-5wmg-9cvh-qw25

Affected products (as reported)

VendorProductVersions
workos authkit-nextjs < 0.13.2

Weakness: CWE-532 · Vector: CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

References