{"id":"EUVD-2022-5193","revision":"2ce084819b5143dba0629eb7444fc314","records":[{"revision":"2ce084819b5143dba0629eb7444fc314","observedAt":"2026-11-03T21:05:36.448+00:00","statement":{"source":"euvd","id":"EUVD-2022-5193","aliases":["CVE-2022-1537","GHSA-rm36-94g8-835r"],"title":"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 priv…","description":"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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"severity":null}],"references":["https://huntr.dev/bounties/0179c3e5-bc02-4fc9-8491-a1a319b51b4d","https://github.com/gruntjs/grunt/commit/58016ffac5ed9338b63ecc2a63710f5027362bae","https://lists.debian.org/debian-lts-announce/2023/04/msg00006.html"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-5193","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"May 10, 2022, 12:00:00 AM","dateUpdated":"Aug 3, 2024, 12:10:03 AM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2022-5193","identifiers":["EUVD-2022-5193","CVE-2022-1537","GHSA-rm36-94g8-835r"]},"retained":false,"historicalAffected":[]}],"coverage":[]}