CVE-2022-24858

MEDIUMCVSS 6.1/10EPSS 0.74%

Last modified

CVE-2022-24858 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. next-auth v3 users before version 3.29.2 are impacted. next-auth version 4 users before version 4.3.2 are also impacted. EPSS estimates a 0.74% chance of exploitation in the next 30 days.

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`.

Metrics

CVSS 3.1
6.1/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

EPSS Probability
0.74%

49.8th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
Nextauth.JsNext-Auth>= 3.0.0, < 3.29.2
Nextauth.JsNext-Auth>= 4.0.0, < 4.3.2

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2022-24858?
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`.
How severe is CVE-2022-24858?
CVE-2022-24858 has a CVSS score of 6.1/10 (MEDIUM severity). The EPSS model estimates a 0.74% probability of exploitation in the next 30 days.
How do I fix CVE-2022-24858?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2022-24858?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST