Vulnerability Description
next-auth v3 users before version 3.29.2 are impacted. next-auth version 4 users before version 4.3.2 are also impacted. Upgrading to 3.29.2 or 4.3.2 will patch this vulnerability. If you are not able to upgrade for any reason, you can add a configuration to your callbacks option. If you already have a `redirect` callback, make sure that you match the incoming `url` origin against the `baseUrl`.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Nextauth.Js | Next-Auth | >= 3.0.0, < 3.29.2 |
Related Weaknesses (CWE)
References
- https://github.com/nextauthjs/next-auth/security/advisories/GHSA-f9wg-5f46-cjmwMitigationThird Party Advisory
- https://next-auth.js.org/configuration/callbacks#redirect-callbackVendor Advisory
- https://next-auth.js.org/getting-started/upgrade-v4Vendor Advisory
- https://github.com/nextauthjs/next-auth/security/advisories/GHSA-f9wg-5f46-cjmwMitigationThird Party Advisory
- https://next-auth.js.org/configuration/callbacks#redirect-callbackVendor Advisory
- https://next-auth.js.org/getting-started/upgrade-v4Vendor Advisory
FAQ
What is CVE-2022-24858?
CVE-2022-24858 is a vulnerability with a CVSS score of 6.1 (MEDIUM). next-auth v3 users before version 3.29.2 are impacted. next-auth version 4 users before version 4.3.2 are also impacted. Upgrading to 3.29.2 or 4.3.2 will patch this vulnerability. If you are not able...
How severe is CVE-2022-24858?
CVE-2022-24858 has been rated MEDIUM with a CVSS base score of 6.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-24858?
Check the references section above for vendor advisories and patch information. Affected products include: Nextauth.Js Next-Auth.