CVE-2022-1537
grunt - security update
7.0
HIGH
CVSS 3.1
EPSS 0.30%
描述
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-2022-1537
要修補 CVE-2022-1537,請將受影響套件升級到下列已修補版本。
- —升級至 1.3.0-1+deb11u2 或更新版本
- —升級至 1.0.1-8+deb10u2 或更新版本
- —升級至 1.5.3 或更新版本
CVE-2022-1537 正在被利用嗎?
低 — EPSS 為 0.3%,目前沒有觀察到大規模利用活動。
受影響套件(3)
- from 0, < 1.3.0-1+deb11u2
- from 0, < 1.0.1-8+deb10u2
- from 0, < 1.5.3
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |