grunt
Affected
- introduced
0, fixed1.5.3(semver)
Fixed versions
1.5.3
Fix
- Fixed version
1.5.3npm install [email protected]
Advisory
Also known as: CVE-2022-1537
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.
High Basis: The source's own band: HIGH
0, fixed 1.5.3 (semver)1.5.3
1.5.3npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0