gruntjs grunt 检查时间与使用时间(toctou)的竞争条件

admin 2023-11-30 07:52:27 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
中危 gruntjs grunt 检查时间与使用时间(toctou)的竞争条件

CVE编号

CVE-2022-1537

利用情况

暂无

补丁情况

官方补丁

披露时间

2022-05-10
漏洞描述
file.copy operations in GruntJS are vulnerable to a TOCTOU race condition leading to arbitrary file write in GitHub repository gruntjs/grunt prior to 1.5.3. This vulnerability is capable of arbitrary file writes which can lead to local privilege escalation to the GruntJS user if a lower-privileged user has write access to both source and destination directories as the lower-privileged user can create a symlink to the GruntJS user's .bashrc file or replace /etc/shadow file if the GruntJS user is root.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接
https://github.com/gruntjs/grunt/commit/58016ffac5ed9338b63ecc2a63710f5027362bae
https://huntr.dev/bounties/0179c3e5-bc02-4fc9-8491-a1a319b51b4d
https://lists.debian.org/debian-lts-announce/2023/04/msg00006.html
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 gruntjs grunt * Up to (excluding) 1.5.3
运行在以下环境
系统 debian_10 grunt * Up to (excluding) 1.0.1-8+deb10u2
运行在以下环境
系统 debian_11 grunt * Up to (excluding) 1.3.0-1+deb11u2
运行在以下环境
系统 debian_12 grunt * Up to (excluding) 1.5.3-1
运行在以下环境
系统 debian_9 grunt * Up to (including) 1.0.1-5
运行在以下环境
系统 debian_sid grunt * Up to (excluding) 1.5.3-1
阿里云评分 5.8
  • 攻击路径 本地
  • 攻击复杂度 复杂
  • 权限要求 无需权限
  • 影响范围 越权影响
  • EXP成熟度 未验证
  • 补丁情况 官方补丁
  • 数据保密性 数据泄露
  • 数据完整性 无影响
  • 服务器危害 无影响
  • 全网数量 N/A
CWE-ID 漏洞类型
CWE-367 检查时间与使用时间(TOCTOU)的竞争条件
- 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