CVE-2022-29214

Medium

Description

NextAuth.js (next-auth) is am open source authentication solution for Next.js applications. Prior to versions 3.29.3 and 4.3.3, an open redirect vulnerability is present when the developer is implementing an OAuth 1 provider. Versions 3.29.3 and 4.3.3 contain a patch for this issue. The maintainers recommend adding a certain configuration to one's `callbacks` option as a workaround for those unable to upgrade.

SeverityMedium
CVSS6.1
Exploit probability—
ProductNextauth.js Next-auth
PublishedMay 21, 2022
First seenMay 21, 2022

How to fix

Update
  • nextauth.js next-auth3.29.3, 4.3.3 or later
  • next-auth3.29.3, 4.3.3 or later

Affected products

ProductAffected versionsFixed in
nextauth.js next-authv < 3.29.3, 4.0.0 ≤ v < 4.3.33.29.3, 4.3.3
next-authnpmv < 3.29.3, 4.0.0 ≤ v < 4.3.33.29.3, 4.3.3

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.