SB2022092955 - Authentication bypass in Upstash Redis adapter for Next-Auth.js
Published: September 29, 2022
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 security vulnerability.
1) Improper Authentication (CVE-ID: CVE-2022-39263)
The vulnerability allows a remote attacker to bypass authentication process.
The vulnerability exists due to Upstash Redis adapter does not properly authenticate user sessions. After the initial successful authentication performed with a valid user identifier (email) and a token, all other subsequent requests are authenticated only by using the user identifier. A remote attacker with knowledge of an existing email address can bypass authentication process and gain unauthorized access to the application.
Remediation
Install update from vendor's website.