Skip to main content

Next Auth CVE-2021-21310

MEDIUM
Authentication Bypass by Spoofing (CWE-290)
2021-02-11 security-advisories@github.com
5.9
CVSS 3.1 · NVD
Share

Severity by source

NVD PRIMARY
5.9 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

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

Lifecycle Timeline

1
CVE Published
Feb 11, 2021 - 22:15 nvd
MEDIUM 5.9

DescriptionNVD

NextAuth.js (next-auth) is am open source authentication solution for Next.js applications. In next-auth before version 3.3.0 there is a token verification vulnerability. Implementations using the Prisma database adapter in conjunction with the Email provider are impacted. Implementations using the Email provider with the default database adapter are not impacted. Implementations using the Prisma database adapter but not using the Email provider are not impacted. The Prisma database adapter was checking the verification token, but was not verifying the email address associated with that token. This made it possible to use a valid token to sign in as another user when using the Prima adapter in conjunction with the Email provider. This issue is specific to the community supported Prisma adapter. This issue is fixed in version 3.3.0.

AnalysisAI

NextAuth.js (next-auth) is am open source authentication solution for Next.js applications. Rated medium severity (CVSS 5.9), this vulnerability is remotely exploitable, no authentication required. Public exploit code available and no vendor patch available.

Technical ContextAI

This vulnerability is classified under CWE-290. NextAuth.js (next-auth) is am open source authentication solution for Next.js applications. In next-auth before version 3.3.0 there is a token verification vulnerability. Implementations using the Prisma database adapter in conjunction with the Email provider are impacted. Implementations using the Email provider with the default database adapter are not impacted. Implementations using the Prisma database adapter but not using the Email provider are not impacted. The Prisma database adapter was checking the verification token, but was not verifying the email address associated with that token. This made it possible to use a valid token to sign in as another user when using the Prima adapter in conjunction with the Email provider. This issue is specific to the community supported Prisma adapter. This issue is fixed in version 3.3.0. Affected products include: Nextauth.Js Next-Auth. Version information: version 3.3.0.

RemediationAI

No vendor patch is available at time of analysis. Monitor vendor advisories for updates. 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-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-2022-31093 HIGH
7.5 Jun 27

NextAuth.js is a complete open source authentication solution for Next.js applications. Rated high severity (CVSS 7.5),

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

Share

CVE-2021-21310 vulnerability details – vuln.today

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