next-auth nextauth.js 通过日志文件的信息暴露

admin 2023-11-30 06:37:18 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
低危 next-auth nextauth.js 通过日志文件的信息暴露

CVE编号

CVE-2022-31186

利用情况

暂无

补丁情况

官方补丁

披露时间

2022-08-02
漏洞描述
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.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接
https://github.com/nextauthjs/next-auth/security/advisories/GHSA-p6mm-27gq-9v3p
https://next-auth.js.org/configuration/options
https://next-auth.js.org/getting-started/upgrade-v4
https://next-auth.js.org/warnings
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 next-auth nextauth.js * Up to (excluding) 3.29.9
运行在以下环境
应用 next-auth nextauth.js * From (including) 4.0.0 Up to (excluding) 4.10.2
阿里云评分 3.3
  • 攻击路径 本地
  • 攻击复杂度 困难
  • 权限要求 管控权限
  • 影响范围 有限影响
  • EXP成熟度 未验证
  • 补丁情况 官方补丁
  • 数据保密性 无影响
  • 数据完整性 无影响
  • 服务器危害 无影响
  • 全网数量 N/A
CWE-ID 漏洞类型
CWE-532 通过日志文件的信息暴露
- avd.aliyun.com
weinxin
版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
N/A Ali_nvd

N/A

N/ACVE编号 CVE-2024-9120利用情况 暂无补丁情况 N/A披露时间 2024-09-23漏洞描述Use after free in Dawn
评论:0   参与:  0