Improper Authentication Affecting next-auth package, versions <4.12.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.2% (60th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Authentication vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-NEXTAUTH-3035577
  • published29 Sept 2022
  • disclosed29 Sept 2022
  • creditvoinik

Introduced: 29 Sep 2022

CVE-2022-39263  (opens in a new tab)
CWE-287  (opens in a new tab)

How to fix?

Upgrade next-auth to version 4.12.0 or higher.

Overview

next-auth is an Authentication for Next.js

Affected versions of this package are vulnerable to Improper Authentication due to missing validation for both the identifier and the token in the Upstash Redis adapter.

CVSS Scores

version 3.1