CVE-2022-39263

CVSS V2 None CVSS V3 High 8.1
Description
`@next-auth/upstash-redis-adapter` is the Upstash Redis adapter for NextAuth.js, which provides authentication for Next.js. Applications that use `next-auth` Email Provider and `@next-auth/upstash-redis-adapter` before v3.0.2 are affected by this vulnerability. The Upstash Redis adapter implementation did not check for both the identifier (email) and the token, but only checking for the identifier when verifying the token in the email callback flow. An attacker who knows about the victim's email could easily sign in as the victim, given the attacker also knows about the verification token's expired duration. The vulnerability is patched in v3.0.2. A workaround is available. Using Advanced Initialization, developers can check the requests and compare the query's token and identifier before proceeding.
Overview
  • CVE ID
  • CVE-2022-39263
  • Assigner
  • security-advisories@github.com
  • Vulnerability Status
  • Analyzed
  • Published Version
  • 2022-09-28T21:15:14
  • Last Modified Date
  • 2023-03-03T20:08:04
CPE Configuration (Product)
CPE Vulnerable Operator Version Start Version End
cpe:2.3:a:next-auth:nextauth:*:*:*:*:*:node.js:*:* 1 OR 3.0.2
CVSS Version 3
  • Version
  • 3.1
  • Vector String
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Attack Vector
  • NETWORK
  • Attack Compatibility
  • HIGH
  • Privileges Required
  • NONE
  • User Interaction
  • NONE
  • Scope
  • UNCHANGED
  • Confidentiality Impact
  • HIGH
  • Availability Impact
  • HIGH
  • Base Score
  • 8.1
  • Base Severity
  • HIGH
  • Exploitability Score
  • 2.2
  • Impact Score
  • 5.9
History
Created Old Value New Value Data Type Notes
2022-09-28 22:00:07 Added to TrackCVE
2022-12-07 05:07:27 2022-09-28T21:15Z 2022-09-28T21:15:14 CVE Published Date updated
2022-12-07 05:07:27 2022-09-30T19:54:08 CVE Modified Date updated
2022-12-07 05:07:27 Analyzed Vulnerability Status updated
2023-03-02 23:16:37 Analyzed Undergoing Analysis Vulnerability Status updated
2023-03-03 20:16:11 2023-03-03T20:08:04 CVE Modified Date updated
2023-03-03 20:16:11 Undergoing Analysis Analyzed Vulnerability Status updated