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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | @workos-inc/authkit-nextjs | 0.13.2 | GHSA-5wmg-9cvh-qw25 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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