- Accueil
- Vulnérabilités
- CVE-2022-31186
CVE-2022-31186
NextAuth.js is a complete open source authentication solution for Next.js applications. An information…
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))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| 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
- — Publication de la CVE (cve)
Références
- https://next-auth.js.org/configuration/options#loggerVendor Advisory
- https://next-auth.js.org/getting-started/upgrade-v4Vendor Advisory
- https://next-auth.js.org/warnings#debug_enabledVendor Advisory
- https://github.com/nextauthjs/next-auth/security/advisories/GHSA-p6mm-27gq-9v3pThird Party Advisory
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