
Cloud Vulnerability DB
A community-led vulnerabilities database
The vulnerability (CVE-2022-39263) affects the Upstash Redis adapter (@next-auth/upstash-redis-adapter) for NextAuth.js, which provides authentication for Next.js applications. The issue was discovered and disclosed on September 28, 2022, affecting versions prior to 3.0.2. The vulnerability stems from an implementation flaw in the email verification process where the adapter only checked for the identifier (email) without properly verifying the token during the email callback flow (GitHub Advisory).
The vulnerability exists in the email verification process of the Upstash Redis adapter. The implementation failed to verify both the identifier (email) and token simultaneously, instead only checking the identifier during the email callback flow. The vulnerability has been assigned a CVSS v3.1 base score of 6.8 (Moderate), with attack vector being Network, attack complexity High, requiring no privileges but user interaction, and affecting both confidentiality and integrity while not impacting availability (GitHub Advisory).
The vulnerability could allow an attacker who knows the victim's email address and the verification token's expired duration to successfully sign in as the victim. This poses a significant security risk as it could lead to unauthorized account access and potential impersonation of legitimate users (GitHub Advisory).
The vulnerability has been patched in version 3.0.2 of the @next-auth/upstash-redis-adapter. Users are strongly recommended to upgrade to this version using package managers (npm, yarn, or pnpm). As a temporary workaround, developers can implement Advanced Initialization to manually check and compare the query's token and identifier before proceeding with the authentication process (GitHub Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."