Tóm tắt nhanh
- CVE-2022-1537 là lỗ hổng mức CAO (CVSS 7.0) ảnh hưởng grunt (gruntjs), grunt.
- Xác suất bị khai thác trong 30 ngày tới (EPSS): 0.30%, cao hơn 23.0% các lỗ hổng khác.
- Cách xử lý: cập nhật lên 1.5.3 hoặc mới hơn.
| Gói / sản phẩm | Phiên bản bị ảnh hưởng | Phiên bản đã vá |
|---|
| grunt | < 1.5.3
| 1.5.3
|
| grunt npm | < 1.5.3
| 1.5.3
|
Mô tả
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.
Mô tả của NVD
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.
Bạn đang dùng một trong các sản phẩm này? Quét site để biết có đang lộ phiên bản có lỗ hổng không.
Quét site miễn phí