CWE
601
Advisory Published
Updated

CVE-2022-29214: URL Redirection to Untrusted Site ('Open Redirect') in next-auth

First published: Fri May 20 2022(Updated: )

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.

Credit: security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
Nextauth.js Next-auth<3.29.3
Nextauth.js Next-auth>=4.0.0<4.3.3

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2022-29214?

    CVE-2022-29214 is an open redirect vulnerability in NextAuth.js (next-auth) prior to versions 3.29.3 and 4.3.3 when implementing an OAuth 1 provider.

  • How severe is CVE-2022-29214?

    CVE-2022-29214 has a severity score of 6.1 (medium severity).

  • Which versions of NextAuth.js are affected by CVE-2022-29214?

    Versions prior to 3.29.3 and 4.3.3 of NextAuth.js (next-auth) are affected by CVE-2022-29214.

  • How can I fix CVE-2022-29214?

    To fix CVE-2022-29214, you should update NextAuth.js to version 3.29.3 or 4.3.3, which contain a patch for this vulnerability.

  • Where can I find more information about CVE-2022-29214?

    You can find more information about CVE-2022-29214 at the following references: [Reference 1](https://github.com/nextauthjs/next-auth/releases/tag/next-auth%40v4.3.3) [Reference 2](https://github.com/nextauthjs/next-auth/security/advisories/GHSA-q2mx-j4x2-2h74)

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203