CVE-2022-29214

NextAuth.js (next-auth) is am open source authentication solution for Next.js applications. Prior to versions 3.29.3 and 4.3.3, an open redirect vulnerability is present when the developer is implementing an OAuth 1 provider. Versions 3.29.3 and 4.3.3 contain a patch for this issue. The maintainers recommend adding a certain configuration to one's `callbacks` option as a workaround for those unable to upgrade.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:nextauth.js:next-auth:*:*:*:*:*:node.js:*:*
cpe:2.3:a:nextauth.js:next-auth:*:*:*:*:*:node.js:*:*

History

07 Jun 2022, 02:58

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : 5.8
v3 : 6.1
CPE cpe:2.3:a:nextauth.js:next-auth:*:*:*:*:*:node.js:*:*
References (MISC) https://github.com/nextauthjs/next-auth/releases/tag/next-auth%40v4.3.3 - (MISC) https://github.com/nextauthjs/next-auth/releases/tag/next-auth%40v4.3.3 - Release Notes, Third Party Advisory
References (CONFIRM) https://github.com/nextauthjs/next-auth/security/advisories/GHSA-q2mx-j4x2-2h74 - (CONFIRM) https://github.com/nextauthjs/next-auth/security/advisories/GHSA-q2mx-j4x2-2h74 - Third Party Advisory

21 May 2022, 03:33

Type Values Removed Values Added
New CVE

Information

Published : 2022-05-21 00:15

Updated : 2024-02-04 22:29


NVD link : CVE-2022-29214

Mitre link : CVE-2022-29214

CVE.ORG link : CVE-2022-29214


JSON object : View

Products Affected

nextauth.js

  • next-auth
CWE
CWE-601

URL Redirection to Untrusted Site ('Open Redirect')