CVE-2024-51752
Workos Authkit-nextjs vulnerability
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 products
Authkit-nextjs. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Workos Authkit-nextjs runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/workos/authkit-nextjs/security/advisories/GHSA-5wmg-9cvh-qw25 · Vendor Advisory
- github.com/workos/authkit-nextjs/commit/15a332632f7560b03cc6d8cc8da24fd2ac931da7 · Patch
- github.com/workos/authkit-nextjs/releases/tag/v0.13.2
- nvd.nist.gov/vuln/detail/CVE-2024-51752
- github.com/advisories/GHSA-5wmg-9cvh-qw25
- nvd.nist.gov/vuln/detail/CVE-2024-51752
- cve.org/CVERecord?id=CVE-2024-51752
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.