Improper Authentication Affecting @next-auth/upstash-redis-adapter package, versions <3.0.2


Severity

0.0
medium
0
10

    Threat Intelligence

    EPSS
    0.2% (59th 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 ID SNYK-JS-NEXTAUTHUPSTASHREDISADAPTER-3035578
  • published 29 Sep 2022
  • disclosed 29 Sep 2022
  • credit voinik

How to fix?

Upgrade @next-auth/upstash-redis-adapter to version 3.0.2 or higher.

Overview

@next-auth/upstash-redis-adapter is an Upstash adapter for next-auth. It uses Upstash's connectionless (HTTP based) Redis client.

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
Expand this section

Snyk

6.8 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    High
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    Required
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    High
  • Availability (A)
    None
Expand this section

NVD

8.1 high