{"id":"EUVD-2022-5193","revision":"683288bd5cac401baca67ff82b2e74a1","records":[{"revision":"683288bd5cac401baca67ff82b2e74a1","observedAt":"2026-11-16T01:33:13.401+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":[{"id":"WID-SEC-W-2026-2460","title":"Atlassian Bamboo, Bitbucket, Confluence, Fisheye, Crucible, Jira und Jira Service Management: Mehrere Schwachstellen","vulnerabilityIds":["CVE-2016-10540","CVE-2020-28282","CVE-2020-7729","CVE-2021-22569","CVE-2021-23358","CVE-2022-1537","CVE-2022-3509","CVE-2022-3510","CVE-2022-37599","CVE-2022-37601","CVE-2022-37603","CVE-2024-7254","CVE-2025-11226","CVE-2025-14813","CVE-2025-62718","CVE-2025-69873","CVE-2026-12143","CVE-2026-21575","CVE-2026-21577","CVE-2026-21579","CVE-2026-22731","CVE-2026-2332","CVE-2026-27830","CVE-2026-29063","CVE-2026-29145","CVE-2026-29146","CVE-2026-31802","CVE-2026-33671","CVE-2026-33870","CVE-2026-33871","CVE-2026-34043","CVE-2026-35554","CVE-2026-40175","CVE-2026-42033","CVE-2026-42035","CVE-2026-42041","CVE-2026-42043","CVE-2026-42044","CVE-2026-42198","CVE-2026-42264","CVE-2026-42581","CVE-2026-42583","CVE-2026-42585","CVE-2026-42587","CVE-2026-42588","CVE-2026-44249","CVE-2026-44486","CVE-2026-44487","CVE-2026-44488","CVE-2026-44490","CVE-2026-44492","CVE-2026-44494","CVE-2026-44495","CVE-2026-44496","CVE-2026-44705","CVE-2026-45416","CVE-2026-45505","CVE-2026-45736","CVE-2026-46625","CVE-2026-47838","CVE-2026-4800","CVE-2026-48043","CVE-2026-48779","CVE-2026-50010","CVE-2026-5598","CVE-2026-6321","CVE-2026-6322"]}],"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":[]}