1. Accueil
  2. Vulnérabilités
  3. CVE-2022-31093

CVE-2022-31093

NextAuth.js is a complete open source authentication solution for Next.js applications. In affected versions…

Publiée le 27 juin 2022 · modifiée le 17 juin 2026 · Sources : NVD, CNA (éditeur ou attributeur), EPSS (FIRST)

Moyen 53/100

Résumé

NextAuth.js is a complete open source authentication solution for Next.js applications. In affected versions an attacker can send a request to an app using NextAuth.js with an invalid `callbackUrl` query parameter, which internally is converted to a `URL` object. The URL instantiation would fail due to a malformed URL being passed into the constructor, causing it to throw an unhandled error which led to the **API route handler timing out and logging in to fail**. This has been remedied in versions 3.29.5 and 4.5.0. If for some reason you cannot upgrade, the workaround requires you to rely on Advanced Initialization. Please see the documentation for more.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Nextauth.js (2 ligne(s))
Nextauth.js
ProduitVersionsCorrigé dansSource
Next-auth de 3.0.0 (inclus) à 3.29.5 (exclu) — NVD
Next-auth de 4.0.0 (inclus) à 4.5.0 (exclu) — NVD

Correctif

Non renseigné par l’éditeur.

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
NVD
Score CVSS
NVD
Faiblesse (CWE)
CNA (éditeur ou attributeur)
Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1, NVD)
Faiblesse
CWE-754 · Autre (CWE-754)

Comment sont obtenues et calculées ces données