Vulnerability Details : 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.
Vulnerability category: Open redirect
Products affected by CVE-2022-29214
- cpe:2.3:a:nextauth.js:next-auth:*:*:*:*:*:node.js:*:*
- cpe:2.3:a:nextauth.js:next-auth:*:*:*:*:*:node.js:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-29214
0.31%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 54 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-29214
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.8
|
MEDIUM | AV:N/AC:M/Au:N/C:P/I:P/A:N |
8.6
|
4.9
|
NIST | |
6.1
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
2.8
|
2.7
|
NIST | |
6.1
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
2.8
|
2.7
|
GitHub, Inc. |
CWE ids for CVE-2022-29214
-
The web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect.Assigned by: security-advisories@github.com (Primary)
References for CVE-2022-29214
-
https://github.com/nextauthjs/next-auth/releases/tag/next-auth%40v4.3.3
Release next-auth@v4.3.3 · nextauthjs/next-auth · GitHubRelease Notes;Third Party Advisory
-
https://github.com/nextauthjs/next-auth/security/advisories/GHSA-q2mx-j4x2-2h74
URL Redirection to Untrusted Site ('Open Redirect') in next-auth · Advisory · nextauthjs/next-auth · GitHubThird Party Advisory
Jump to