CVE-2022-29214 URL Redirection to Untrusted Site ('Open Redirect') in next-auth
MediumCVSS 6.1
EPSS 0.67%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
Description
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| nextauth.js next-auth | < 3.29.3; >= 4.0.0, < 4.3.3 | 3.29.3, 4.3.3 | Fixed |
| npm next-auth(npm) | < 3.29.3; >= 4.0.0, < 4.3.3 | 3.29.3, 4.3.3 | Fixed |
| nextauthjs next-auth | = < 3.29.3; = >= 4.0.0, < 4.3.3 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm next-auth(npm) | < 3.29.3 | 3.29.3 |
| npm next-auth(npm) | >= 4.0.0, < 4.3.3 | 4.3.3 |
| nextauthjs next-auth | = < 3.29.3 | No fix listed |
| nextauthjs next-auth | = >= 4.0.0, < 4.3.3 | No fix listed |
| nextauth.js next-auth | < 3.29.3 | 3.29.3 |
| nextauth.js next-auth | >= 4.0.0, < 4.3.3 | 4.3.3 |
References
- github.com third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com release-notes third-party-advisory
- github.com
- github.com product