摘要:
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.
安全等级: Low
公告ID: KylinSec-SA-2022-1842
发布日期: 2022年8月5日
关联CVE: CVE-2022-1537
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.
cve名称 | 产品 | 组件 | 是否受影响 |
---|---|---|---|
CVE-2022-1537 | KY3.4-4A | nodejs-grunt | Unaffected |
CVE-2022-1537 | KY3.4-5 | nodejs-grunt | Unaffected |
CVE-2022-1537 | KY3.5.1 | nodejs-grunt | Unaffected |