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

CVE-2022-31186

NextAuth.js is a complete open source authentication solution for Next.js applications. An information…

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

Faible 18/100

Résumé

NextAuth.js is a complete open source authentication solution for Next.js applications. An information disclosure vulnerability in `next-auth` before `v4.10.2` and `v3.29.9` allows an attacker with log access privilege to obtain excessive information such as an identity provider's secret in the log (which is thrown during OAuth error handling) and use it to leverage further attacks on the system, like impersonating the client to ask for extensive permissions. This issue has been patched in `v4.10.2` and `v3.29.9` by moving the log for `provider` information to the debug level. In addition, we added a warning for having the `debug: true` option turned on in production. If for some reason you cannot upgrade, you can user the `logger` configuration option by sanitizing the logs.

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

Produits et versions affectés

Next-auth (2 ligne(s))
Next-auth
ProduitVersionsCorrigé dansSource
Nextauth.js avant 3.29.9 (exclu) — NVD
Nextauth.js de 4.0.0 (inclus) à 4.10.2 (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:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N (CVSS 3.1, NVD)
Faiblesse
CWE-532 · Divulgation d'information

Comment sont obtenues et calculées ces données