CVE-2022-29214
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.
How to fix
- nextauth.js next-auth3.29.3, 4.3.3 or later
- next-auth3.29.3, 4.3.3 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| nextauth.js next-auth | v < 3.29.3, 4.0.0 ≤ v < 4.3.3 | 3.29.3, 4.3.3 |
| next-authnpm | v < 3.29.3, 4.0.0 ≤ v < 4.3.3 | 3.29.3, 4.3.3 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.