CVE-2022-31093
HIGHEPSS 73th pctlDescription
NextAuth.js is a complete open source authentication solution for Next.js applications. In affected versions an attacker can send a request to an app using NextAuth.js with an invalid `callbackUrl` query parameter, which internally is converted to a `URL` object. The URL instantiation would fail due to a malformed URL being passed into the constructor, causing it to throw an unhandled error which led to the **API route handler timing out and logging in to fail**. This has been remedied in versions 3.29.5 and 4.5.0. If for some reason you cannot upgrade, the workaround requires you to rely on Advanced Initialization. Please see the documentation for more.
How to fix
TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Exploit Intelligence
Elevated risk: more likely to be exploited than 73% of all known CVEs.
References
Related Vulnerabilities
Other CWE-754 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2024-4367 | High | 8.8 | 73% | - | Fix |
| CVE-2022-39288 | High | 7.5 | 59% | - | Fix |
| CVE-2023-30591 | High | 7.5 | 54% | - | - |
| CVE-2023-41993 | High | 8.8 | 29% | KEV | Fix |
| CVE-2024-43044 | High | 8.8 | 29% | - | Fix |
| CVE-2024-3393 | High | 7.5 | 27% | KEV | Fix |
Embed a live status badge for CVE-2022-31093
Markdown
[](https://tridentstack.com/cve/CVE-2022-31093)HTML
<a href="https://tridentstack.com/cve/CVE-2022-31093"><img src="https://tridentstack.com/cve/badge/CVE-2022-31093.svg" alt="CVE-2022-31093"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.