CVE-2022-35924
9.1 · CRITICALOverview
CVE-2022-35924 is a critical-severity vulnerability affecting nextauth.js next-auth. It was published on August 2, 2022 and has a CVSS 3.1 base score of 9.1 (CRITICAL).
This vulnerability has a CVSS 3.1 base score of 9.1, rated CRITICAL. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.
Technical Description
NextAuth.js is a complete open source authentication solution for Next.js applications. `next-auth` users who are using the `EmailProvider` either in versions before `4.10.3` or `3.29.10` are affected. If an attacker could forge a request that sent a comma-separated list of emails (eg.: `[email protected],[email protected]`) to the sign-in endpoint, NextAuth.js would send emails to both the attacker and the victim's e-mail addresses. The attacker could then login as a newly created user with the email being `[email protected],[email protected]`. This means that basic authorization like `email.endsWith("@victim.com")` in the `signIn` callback would fail to communicate a threat to the developer and would let the attacker bypass authorization, even with an `@attacker.com` address. This vulnerability has been patched in `v4.10.3` and `v3.29.10` by normalizing the email value that is sent to the sign-in endpoint before accessing it anywhere else. We also added a `normalizeIdentifier
Remediation
Check the references section for vendor advisories and patches from nextauth.js. Update next-auth to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.
Affected Products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| nextauth.js | next-auth | >= 0, < 3.29.10 | Affected |
References
Frequently Asked Questions
What is CVE-2022-35924?
CVE-2022-35924 is a critical-severity vulnerability affecting nextauth.js next-auth. It was published on August 2, 2022 and has a CVSS 3.1 base score of 9.1 (CRITICAL).
How severe is CVE-2022-35924?
This vulnerability has a CVSS 3.1 base score of 9.1, rated CRITICAL. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.
How do I fix or remediate CVE-2022-35924?
Check the references section for vendor advisories and patches from nextauth.js. Update next-auth to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.
How can CyberStrike help with CVE-2022-35924?
CyberStrike's AI-powered security agents can automatically detect CVE-2022-35924 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.
How CyberStrike Helps
AI agents map your attack surface to find vulnerabilities like this one.
Automated penetration testing that runs continuously, not just quarterly.
AI-driven PR review catches vulnerable dependencies before they ship.
Browser-based exploitation validates findings with real proof-of-concept.
Related CRITICAL CVEs from 2022
View all →Spinnaker is an open source, multi-cloud continuous delivery platform. Spinnaker has improper permis
USOC is an open source CMS with a focus on simplicity. In affected versions USOC allows for SQL inje
Vulnerability in the Oracle Communications Billing and Revenue Management product of Oracle Communic
Vulnerability in the Oracle Communications Billing and Revenue Management product of Oracle Communic
Vulnerability in the Oracle Communications Billing and Revenue Management product of Oracle Communic
A stack-based buffer overflow vulnerability exists in both the LLMNR functionality of Sealevel Syste
A stack-based buffer overflow vulnerability exists in the NBNS functionality of Sealevel Systems, In
SAP NetWeaver Application Server ABAP, SAP NetWeaver Application Server Java, ABAP Platform, SAP Con
Multiple vulnerabilities in Cisco Small Business RV160, RV260, RV340, and RV345 Series Routers could
Multiple vulnerabilities in Cisco Small Business RV160, RV260, RV340, and RV345 Series Routers could
Multiple vulnerabilities in Cisco Small Business RV160, RV260, RV340, and RV345 Series Routers could
Multiple vulnerabilities in Cisco Small Business RV160, RV260, RV340, and RV345 Series Routers could