CVE-2022-1537 – grunt
Package
Manager: npm
Name: grunt
Vulnerable Version: >=0 <1.5.3
Severity
Level: High
CVSS v3.1: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0: CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS: 0.00182 pctl0.40215
Details
Race Condition in Grunt 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.
Metadata
Created: 2022-05-11T00:01:37Z
Modified: 2022-05-25T19:30:09Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-rm36-94g8-835r/GHSA-rm36-94g8-835r.json
CWE IDs: ["CWE-367"]
Alternative ID: GHSA-rm36-94g8-835r
Finding: F124
Auto approve: 1