kcve.ai취약점 정보 · 내 자산 확인

CVE-2022-31186 Leakage of excessive information into log in next-auth

설명

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.

영향 받는 제품 제품 1개

  • nextauthjs

    next-auth

    해결 버전 있음

    영향 받는 버전

    • 4.0.0 이상 4.10.2 미만
    • 3.29.9 미만

    해결 버전

    • 4.10.2 이상
    • 3.29.9 이상

참고 자료 4건

‹ 목록

점검 지원 범위 문의

도입 문의