Skip to main content

Next Auth CVE-2022-31093

HIGH
Improper Check for Unusual or Exceptional Conditions (CWE-754)
2022-06-27 security-advisories@github.com
7.5
CVSS 3.1 · NVD
Share

Severity by source

NVD PRIMARY
7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

1
CVE Published
Jun 27, 2022 - 22:15 nvd
HIGH 7.5

DescriptionNVD

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.

AnalysisAI

NextAuth.js is a complete open source authentication solution for Next.js applications. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity.

Technical ContextAI

This vulnerability is classified under CWE-754. 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. Affected products include: Nextauth.Js Next-Auth.

RemediationAI

A vendor patch is available. Apply the latest security update as soon as possible. Apply vendor patches when available. Implement network segmentation and monitoring as interim mitigations.

CVE-2023-27490 HIGH POC
8.8 Mar 09

NextAuth.js is an open source authentication solution for Next.js applications. Rated high severity (CVSS 8.8), this vul

CVE-2022-31127 MEDIUM POC
6.1 Jul 06

NextAuth.js is a complete open source authentication solution for Next.js applications. Rated medium severity (CVSS 6.1)

CVE-2021-21310 MEDIUM POC
5.9 Feb 11

NextAuth.js (next-auth) is am open source authentication solution for Next.js applications. Rated medium severity (CVSS

CVE-2022-35924 CRITICAL
9.1 Aug 02

NextAuth.js is a complete open source authentication solution for Next.js applications. Rated critical severity (CVSS 9.

CVE-2022-39263 HIGH
8.1 Sep 28

`@next-auth/upstash-redis-adapter` is the Upstash Redis adapter for NextAuth.js, which provides authentication for Next.

CVE-2026-73418 HIGH
7.5 Aug 12

Denial of service in NextAuth.js's getToken() helper allows unauthenticated remote attackers to crash any API route, mid

CVE-2026-73419 MEDIUM
6.8 Aug 12

Provider-confusion in NextAuth.js (next-auth and @auth/core) allows an attacker to link their own OAuth identity at a ta

CVE-2022-29214 MEDIUM
6.1 May 21

NextAuth.js (next-auth) is am open source authentication solution for Next.js applications. Rated medium severity (CVSS

CVE-2022-24858 MEDIUM
6.1 Apr 19

next-auth v3 users before version 3.29.2 are impacted. Rated medium severity (CVSS 6.1), this vulnerability is remotely

CVE-2023-48309 MEDIUM
5.3 Nov 20

NextAuth.js provides authentication for Next.js. Rated medium severity (CVSS 5.3), this vulnerability is remotely exploi

CVE-2022-31186 LOW
3.3 Aug 01

NextAuth.js is a complete open source authentication solution for Next.js applications. Rated low severity (CVSS 3.3), t

Share

CVE-2022-31093 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy