{"id":"CVE-2022-1537","aliases":["AZL-44082","DEBIAN-CVE-2022-1537","GHSA-rm36-94g8-835r","UBUNTU-CVE-2022-1537"],"summary":"file.copy operations in GruntJS are vulnerable to a TOCTOU race condition leading to arbitrary file write in gruntjs/grunt","published_at":"2022-05-10T00:00:00Z","modified_at":"2026-11-19T05:24:34Z","products":[{"slug":"rhel","name":"Red Hat Enterprise Linux","category":"red-hat"}],"rating":{"severity":"high","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","attack_path":"local","user_interaction":false,"malicious":false,"red_hat":"Important","vendor_ratings":[{"source":"Ubuntu","rating":"medium"},{"source":"Red Hat","rating":"Important"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.003019999945536256,"percentile":0.23346999287605286,"date":"2026-11-19T00:00:00Z"},"priority":7.3,"details":"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.","affected_stack":[{"ecosystem":"Red Hat:service_mesh:2.0","package":"servicemesh-grafana","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2022-1537","relation":"self"},{"ecosystem":"Red Hat:service_mesh:2.0","package":"servicemesh-grafana-prometheus","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2022-1537","relation":"self"},{"ecosystem":"Red Hat:service_mesh:2.1","package":"servicemesh-grafana","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2022-1537","relation":"self"}],"affected_other":[{"ecosystem":"Azure Linux:3","package":"js-jquery","purl":"pkg:rpm/azure-linux/js-jquery","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"3.5.0-4"}]}],"provider":"osv","source":"AZL-44082","relation":"self"},{"ecosystem":"CVE","package":"gruntjs/gruntjs/grunt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.3"}]}],"fixed":["1.5.3"],"provider":"cvelistv5","source":"CVE-2022-1537","relation":"self"},{"ecosystem":"Debian:10","package":"grunt","purl":"pkg:deb/debian/grunt?arch=source&distro=buster","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.1-8+deb10u2"}]}],"versions":["1.0.1-8","1.0.1-8+deb10u1"],"fixed":["1.0.1-8+deb10u2"],"provider":"osv","source":"DLA-3383-1","relation":"upstream"},{"ecosystem":"Debian:12","package":"grunt","purl":"pkg:deb/debian/grunt?arch=source&distro=bookworm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.3-1"}]}],"fixed":["1.5.3-1"],"provider":"osv","source":"DEBIAN-CVE-2022-1537","relation":"self"},{"ecosystem":"Debian:13","package":"grunt","purl":"pkg:deb/debian/grunt?arch=source&distro=trixie","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.3-1"}]}],"fixed":["1.5.3-1"],"provider":"osv","source":"DEBIAN-CVE-2022-1537","relation":"self"},{"ecosystem":"Debian:14","package":"grunt","purl":"pkg:deb/debian/grunt?arch=source&distro=forky","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.3-1"}]}],"fixed":["1.5.3-1"],"provider":"osv","source":"DEBIAN-CVE-2022-1537","relation":"self"},{"ecosystem":"NVD","package":"gruntjs:grunt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.3"}]}],"fixed":["1.5.3"],"provider":"nvd","source":"CVE-2022-1537","relation":"self"},{"ecosystem":"Ubuntu:Pro:18.04:LTS","package":"grunt","purl":"pkg:deb/ubuntu/grunt@1.0.1-8ubuntu0.1+esm1?arch=source&distro=esm-apps/bionic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.1-8ubuntu0.1+esm1"}]}],"versions":["1.0.1-5","1.0.1-6","1.0.1-7","1.0.1-8","1.0.1-8ubuntu0.1"],"fixed":["1.0.1-8ubuntu0.1+esm1"],"provider":"osv","source":"UBUNTU-CVE-2022-1537","relation":"self"},{"ecosystem":"Ubuntu:Pro:18.04:LTS","package":"grunt","purl":"pkg:deb/ubuntu/grunt@1.0.1-8ubuntu0.1+esm1?arch=source&distro=esm-apps/bionic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.1-8ubuntu0.1+esm1"}]}],"versions":["1.0.1-5","1.0.1-6","1.0.1-7","1.0.1-8","1.0.1-8ubuntu0.1"],"fixed":["1.0.1-8ubuntu0.1+esm1"],"provider":"osv","source":"USN-5847-1","relation":"upstream"},{"ecosystem":"Ubuntu:Pro:20.04:LTS","package":"grunt","purl":"pkg:deb/ubuntu/grunt@1.0.4-2ubuntu0.1~esm1?arch=source&distro=esm-apps/focal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.4-2ubuntu0.1~esm1"}]}],"versions":["1.0.1-9","1.0.4-2"],"fixed":["1.0.4-2ubuntu0.1~esm1"],"provider":"osv","source":"UBUNTU-CVE-2022-1537","relation":"self"},{"ecosystem":"Ubuntu:Pro:20.04:LTS","package":"grunt","purl":"pkg:deb/ubuntu/grunt@1.0.4-2ubuntu0.1~esm1?arch=source&distro=esm-apps/focal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.4-2ubuntu0.1~esm1"}]}],"versions":["1.0.1-9","1.0.4-2"],"fixed":["1.0.4-2ubuntu0.1~esm1"],"provider":"osv","source":"USN-5847-1","relation":"upstream"},{"ecosystem":"Ubuntu:Pro:22.04:LTS","package":"grunt","purl":"pkg:deb/ubuntu/grunt@1.4.1-2ubuntu0.1~esm1?arch=source&distro=esm-apps/jammy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.1-2ubuntu0.1~esm1"}]}],"versions":["1.3.0-1","1.3.0-2","1.4.1-1","1.4.1-2"],"fixed":["1.4.1-2ubuntu0.1~esm1"],"provider":"osv","source":"UBUNTU-CVE-2022-1537","relation":"self"},{"ecosystem":"Ubuntu:Pro:22.04:LTS","package":"grunt","purl":"pkg:deb/ubuntu/grunt@1.4.1-2ubuntu0.1~esm1?arch=source&distro=esm-apps/jammy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.1-2ubuntu0.1~esm1"}]}],"versions":["1.3.0-1","1.3.0-2","1.4.1-1","1.4.1-2"],"fixed":["1.4.1-2ubuntu0.1~esm1"],"provider":"osv","source":"USN-5847-1","relation":"upstream"},{"ecosystem":"npm","package":"grunt","purl":"pkg:npm/grunt","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.5.3"}]}],"fixed":["1.5.3"],"provider":"osv","source":"GHSA-rm36-94g8-835r","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"OpenShift Service Mesh 2.0","cpe":"cpe:/a:redhat:service_mesh:2.0","status":"affected","packages":["servicemesh-grafana","servicemesh-grafana-prometheus"],"package_count":2,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2022-1537"},{"vendor":"Red Hat","product":"OpenShift Service Mesh 2.1","cpe":"cpe:/a:redhat:service_mesh:2.1","status":"affected","packages":["servicemesh-grafana"],"package_count":1,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2022-1537"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","cpe":"cpe:/a:redhat:enterprise_linux:8","status":"not_affected","packages":["grafana","grafana-azure-monitor","grafana-cloudwatch","grafana-elasticsearch","grafana-graphite","grafana-influxdb","grafana-loki","grafana-mssql","grafana-mysql","grafana-opentsdb","grafana-postgres","grafana-prometheus","grafana-selinux","grafana-stackdriver"],"package_count":14,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-1537"},{"vendor":"Red Hat","product":"Red Hat JBoss Data Grid 7","cpe":"cpe:/a:redhat:jboss_data_grid:7","status":"affected","packages":["gruntjs"],"package_count":1,"fixed":[],"advisories":[],"note":"Out of support scope","provider":"redhat-vex","source":"CVE-2022-1537"},{"vendor":"Red Hat","product":"Red Hat JBoss Enterprise Application Platform 7","cpe":"cpe:/a:redhat:jboss_enterprise_application_platform:7","status":"not_affected","packages":["org.jboss.hal-hal-parent"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-1537"},{"vendor":"Red Hat","product":"Red Hat JBoss Enterprise Application Platform Expansion Pack","cpe":"cpe:/a:redhat:jbosseapxp","status":"not_affected","packages":["gruntjs"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-1537"}],"records":[{"provider":"csaf-bsi","source_id":"WID-SEC-W-2026-2460","relation":"upstream","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2026-2460","license":"TLP:CLEAR, mirroring permitted","published_at":"2026-07-21T22:00:00Z","modified_at":"2026-10-01T22:00:00Z","summary":"Atlassian Bamboo, Bitbucket, Confluence, Fisheye, Crucible, Jira und Jira Service Management: Mehrere Schwachstellen","details":"Ein Angreifer kann mehrere Schwachstellen in Atlassian Bamboo, Bitbucket, Confluence, Fisheye, Crucible, Jira und Jira Service Management ausnutzen, um beliebigen Code auszuführen, erweiterte Berechtigungen zu erlangen, Sicherheitsmaßnahmen zu umgehen, Daten zu manipulieren, vertrauliche Informationen offenzulegen oder einen Denial-of-Service-Zustand auszulösen.\n\nBamboo ist ein Werkzeug zur kontinuierlichen Integration und Bereitstellung, das automatisierte Builds, Tests und Freigaben in einem einzigen Arbeitsablauf verbindet.\r\nBitbucket ist ein Git-Server zur Sourcecode-Versionskontrolle.\r\nConfluence ist eine kommerzielle Wiki-Software.\r\nFisheye ist ein Quellcode-Repository-Browser für Unternehmensteams. \r\nCrucible ist eine Code-Review-Lösung für Unternehmensteams.\r\nJira ist eine Webanwendung zur Softwareentwicklung.","severity":[{"type":"BSI","score":"hoch","source":"WID-SEC-W-2026-2460"}],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-2460.json"},{"type":"WEB","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2026-2460"},{"type":"WEB","url":"https://confluence.atlassian.com/security/security-bulletin-july-21-2026-1821999345.html"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:46903"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:46885"},{"type":"WEB","url":"http://linux.oracle.com/errata/ELSA-2026-21286.html"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:47388"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:47451"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:44267"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:44263"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:48126"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:48124"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:48151"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:50300"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:48693"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:52768"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:36625"},{"type":"WEB","url":"https://www.dell.com/support/kbdoc/de-de/000503592/dsa-2026-385-security-update-for-dell-secure-connect-gateway-policy-manager-multiple-vulnerabilities"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:63373"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:68748"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:68755"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:68747"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:70267"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:70829"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:74511"}]},{"provider":"osv","source_id":"DLA-3383-1","relation":"upstream","url":"https://osv.dev/vulnerability/DLA-3383-1","published_at":"2023-04-05T00:00:00Z","modified_at":"2026-11-20T01:18:40.102735Z","summary":"grunt - security update","severity":[],"affected":[{"ecosystem":"Debian:10","package":"grunt","purl":"pkg:deb/debian/grunt?arch=source&distro=buster","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.1-8+deb10u2"}]}],"versions":["1.0.1-8","1.0.1-8+deb10u1"],"fixed":["1.0.1-8+deb10u2"],"provider":"osv","source":"DLA-3383-1","relation":"upstream"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"USN-5847-1","relation":"upstream","url":"https://osv.dev/vulnerability/USN-5847-1","license":"CC-BY-SA-4.0","published_at":"2023-02-07T18:56:35Z","modified_at":"2026-04-27T16:47:19.671911Z","summary":"grunt vulnerabilities","details":"It was discovered that Grunt was not properly loading YAML files before\nparsing them. An attacker could possibly use this issue to execute\narbitrary code. (CVE-2020-7729)\n\nIt was discovered that Grunt was not properly handling symbolic links\nwhen performing file copy operations. An attacker could possibly use this\nissue to expose sensitive information or execute arbitrary code.\n(CVE-2022-0436)\n\nIt was discovered that there was a race condition in the Grunt file copy\nfunction, which could lead to an arbitrary file write. An attacker could\npossibly use this issue to perform a local privilege escalation attack or\nto execute arbitrary code. (CVE-2022-1537)","severity":[],"affected":[{"ecosystem":"Ubuntu:Pro:18.04:LTS","package":"grunt","purl":"pkg:deb/ubuntu/grunt@1.0.1-8ubuntu0.1+esm1?arch=source&distro=esm-apps/bionic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.1-8ubuntu0.1+esm1"}]}],"versions":["1.0.1-5","1.0.1-6","1.0.1-7","1.0.1-8","1.0.1-8ubuntu0.1"],"fixed":["1.0.1-8ubuntu0.1+esm1"],"provider":"osv","source":"USN-5847-1","relation":"upstream"},{"ecosystem":"Ubuntu:Pro:20.04:LTS","package":"grunt","purl":"pkg:deb/ubuntu/grunt@1.0.4-2ubuntu0.1~esm1?arch=source&distro=esm-apps/focal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.4-2ubuntu0.1~esm1"}]}],"versions":["1.0.1-9","1.0.4-2"],"fixed":["1.0.4-2ubuntu0.1~esm1"],"provider":"osv","source":"USN-5847-1","relation":"upstream"},{"ecosystem":"Ubuntu:Pro:22.04:LTS","package":"grunt","purl":"pkg:deb/ubuntu/grunt@1.4.1-2ubuntu0.1~esm1?arch=source&distro=esm-apps/jammy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.1-2ubuntu0.1~esm1"}]}],"versions":["1.3.0-1","1.3.0-2","1.4.1-1","1.4.1-2"],"fixed":["1.4.1-2ubuntu0.1~esm1"],"provider":"osv","source":"USN-5847-1","relation":"upstream"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5847-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-7729"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-0436"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-1537"}]},{"provider":"cvelistv5","source_id":"CVE-2022-1537","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2022-1537","license":"CC-BY-4.0","published_at":"2022-05-10T00:00:00Z","modified_at":"2024-08-03T00:10:03.294Z","summary":"file.copy operations in GruntJS are vulnerable to a TOCTOU race condition leading to arbitrary file write in gruntjs/grunt","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"CVE-2022-1537"}],"affected":[{"ecosystem":"CVE","package":"gruntjs/gruntjs/grunt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.3"}]}],"fixed":["1.5.3"],"provider":"cvelistv5","source":"CVE-2022-1537","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://huntr.dev/bounties/0179c3e5-bc02-4fc9-8491-a1a319b51b4d"},{"type":"WEB","url":"https://github.com/gruntjs/grunt/commit/58016ffac5ed9338b63ecc2a63710f5027362bae"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/04/msg00006.html"}]},{"provider":"nvd","source_id":"CVE-2022-1537","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-1537","severity":[],"affected":[{"ecosystem":"NVD","package":"gruntjs:grunt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.3"}]}],"fixed":["1.5.3"],"provider":"nvd","source":"CVE-2022-1537","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"AZL-44082","relation":"self","url":"https://osv.dev/vulnerability/AZL-44082","license":"MIT","published_at":"2022-05-10T14:15:08Z","modified_at":"2026-11-19T05:24:34Z","summary":"CVE-2022-1537 affecting package js-jquery 3.5.0-4","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"AZL-44082"}],"affected":[{"ecosystem":"Azure Linux:3","package":"js-jquery","purl":"pkg:rpm/azure-linux/js-jquery","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"3.5.0-4"}]}],"provider":"osv","source":"AZL-44082","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-1537"}]},{"provider":"osv","source_id":"DEBIAN-CVE-2022-1537","relation":"self","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2022-1537","published_at":"2022-05-10T14:15:08.403Z","modified_at":"2026-11-18T06:01:56.822048Z","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"DEBIAN-CVE-2022-1537"}],"affected":[{"ecosystem":"Debian:12","package":"grunt","purl":"pkg:deb/debian/grunt?arch=source&distro=bookworm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.3-1"}]}],"fixed":["1.5.3-1"],"provider":"osv","source":"DEBIAN-CVE-2022-1537","relation":"self"},{"ecosystem":"Debian:13","package":"grunt","purl":"pkg:deb/debian/grunt?arch=source&distro=trixie","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.3-1"}]}],"fixed":["1.5.3-1"],"provider":"osv","source":"DEBIAN-CVE-2022-1537","relation":"self"},{"ecosystem":"Debian:14","package":"grunt","purl":"pkg:deb/debian/grunt?arch=source&distro=forky","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.3-1"}]}],"fixed":["1.5.3-1"],"provider":"osv","source":"DEBIAN-CVE-2022-1537","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2022-1537"}]},{"provider":"osv","source_id":"GHSA-rm36-94g8-835r","relation":"self","url":"https://osv.dev/vulnerability/GHSA-rm36-94g8-835r","license":"CC-BY-4.0","published_at":"2022-05-11T00:01:37Z","modified_at":"2026-09-10T03:49:40.619385Z","summary":"Race Condition in Grunt","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"GHSA-rm36-94g8-835r"}],"affected":[{"ecosystem":"npm","package":"grunt","purl":"pkg:npm/grunt","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.5.3"}]}],"fixed":["1.5.3"],"provider":"osv","source":"GHSA-rm36-94g8-835r","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-1537"},{"type":"WEB","url":"https://github.com/gruntjs/grunt/commit/58016ffac5ed9338b63ecc2a63710f5027362bae"},{"type":"PACKAGE","url":"https://github.com/gruntjs/grunt"},{"type":"WEB","url":"https://huntr.dev/bounties/0179c3e5-bc02-4fc9-8491-a1a319b51b4d"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/04/msg00006.html"}]},{"provider":"osv","source_id":"UBUNTU-CVE-2022-1537","relation":"self","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2022-1537","license":"CC-BY-SA-4.0","published_at":"2022-05-10T14:15:00Z","modified_at":"2026-02-04T03:06:55.736712Z","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"UBUNTU-CVE-2022-1537"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"UBUNTU-CVE-2022-1537"},{"type":"Ubuntu","score":"medium","source":"UBUNTU-CVE-2022-1537"}],"affected":[{"ecosystem":"Ubuntu:Pro:18.04:LTS","package":"grunt","purl":"pkg:deb/ubuntu/grunt@1.0.1-8ubuntu0.1+esm1?arch=source&distro=esm-apps/bionic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.1-8ubuntu0.1+esm1"}]}],"versions":["1.0.1-5","1.0.1-6","1.0.1-7","1.0.1-8","1.0.1-8ubuntu0.1"],"fixed":["1.0.1-8ubuntu0.1+esm1"],"provider":"osv","source":"UBUNTU-CVE-2022-1537","relation":"self"},{"ecosystem":"Ubuntu:Pro:20.04:LTS","package":"grunt","purl":"pkg:deb/ubuntu/grunt@1.0.4-2ubuntu0.1~esm1?arch=source&distro=esm-apps/focal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.4-2ubuntu0.1~esm1"}]}],"versions":["1.0.1-9","1.0.4-2"],"fixed":["1.0.4-2ubuntu0.1~esm1"],"provider":"osv","source":"UBUNTU-CVE-2022-1537","relation":"self"},{"ecosystem":"Ubuntu:Pro:22.04:LTS","package":"grunt","purl":"pkg:deb/ubuntu/grunt@1.4.1-2ubuntu0.1~esm1?arch=source&distro=esm-apps/jammy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.1-2ubuntu0.1~esm1"}]}],"versions":["1.3.0-1","1.3.0-2","1.4.1-1","1.4.1-2"],"fixed":["1.4.1-2ubuntu0.1~esm1"],"provider":"osv","source":"UBUNTU-CVE-2022-1537","relation":"self"}],"product_status":[],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-1537"},{"type":"REPORT","url":"https://huntr.dev/bounties/0179c3e5-bc02-4fc9-8491-a1a319b51b4d"},{"type":"REPORT","url":"https://github.com/gruntjs/grunt/commit/58016ffac5ed9338b63ecc2a63710f5027362bae"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5847-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-1537"}]},{"provider":"redhat-vex","source_id":"CVE-2022-1537","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2022-1537","license":"CC-BY-4.0","published_at":"2022-05-10T00:00:00Z","modified_at":"2025-07-10T05:40:15Z","summary":"gruntjs: race condition leading to arbitrary file write","details":"A flaw was found in the GruntJS package during file.copy operations. This vulnerability is capable of arbitrary file writes, that can lead to local privilege escalation to the GruntJS user if a lower-privileged user has write access to both source and destination directories. This flaw allows a lower-privileged user to create a symlink to the GruntJS user's .bashrc file or replace /etc/shadow file if the GruntJS user is root.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"CVE-2022-1537"},{"type":"Red Hat","score":"Important","source":"CVE-2022-1537"}],"affected":[{"ecosystem":"Red Hat:service_mesh:2.0","package":"servicemesh-grafana","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2022-1537","relation":"self"},{"ecosystem":"Red Hat:service_mesh:2.0","package":"servicemesh-grafana-prometheus","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2022-1537","relation":"self"},{"ecosystem":"Red Hat:service_mesh:2.1","package":"servicemesh-grafana","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2022-1537","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"OpenShift Service Mesh 2.0","cpe":"cpe:/a:redhat:service_mesh:2.0","status":"affected","packages":["servicemesh-grafana","servicemesh-grafana-prometheus"],"package_count":2,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2022-1537"},{"vendor":"Red Hat","product":"OpenShift Service Mesh 2.1","cpe":"cpe:/a:redhat:service_mesh:2.1","status":"affected","packages":["servicemesh-grafana"],"package_count":1,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2022-1537"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","cpe":"cpe:/a:redhat:enterprise_linux:8","status":"not_affected","packages":["grafana","grafana-azure-monitor","grafana-cloudwatch","grafana-elasticsearch","grafana-graphite","grafana-influxdb","grafana-loki","grafana-mssql","grafana-mysql","grafana-opentsdb","grafana-postgres","grafana-prometheus","grafana-selinux","grafana-stackdriver"],"package_count":14,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-1537"},{"vendor":"Red Hat","product":"Red Hat JBoss Data Grid 7","cpe":"cpe:/a:redhat:jboss_data_grid:7","status":"affected","packages":["gruntjs"],"package_count":1,"fixed":[],"advisories":[],"note":"Out of support scope","provider":"redhat-vex","source":"CVE-2022-1537"},{"vendor":"Red Hat","product":"Red Hat JBoss Enterprise Application Platform 7","cpe":"cpe:/a:redhat:jboss_enterprise_application_platform:7","status":"not_affected","packages":["org.jboss.hal-hal-parent"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-1537"},{"vendor":"Red Hat","product":"Red Hat JBoss Enterprise Application Platform Expansion Pack","cpe":"cpe:/a:redhat:jbosseapxp","status":"not_affected","packages":["gruntjs"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-1537"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-1537.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2022-1537"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2083902"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2022-1537"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-1537"},{"type":"WEB","url":"https://huntr.dev/bounties/0179c3e5-bc02-4fc9-8491-a1a319b51b4d"}]}],"references":[{"type":"WEB","url":"https://huntr.dev/bounties/0179c3e5-bc02-4fc9-8491-a1a319b51b4d"},{"type":"WEB","url":"https://github.com/gruntjs/grunt/commit/58016ffac5ed9338b63ecc2a63710f5027362bae"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/04/msg00006.html"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-1537"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2022-1537"},{"type":"PACKAGE","url":"https://github.com/gruntjs/grunt"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-1537"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5847-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-1537"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-1537.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2022-1537"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2083902"}],"sources":[{"provider":"csaf-bsi","source_id":"WID-SEC-W-2026-2460","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2026-2460","license":"TLP:CLEAR, mirroring permitted","modified_at":"2026-10-01T22:00:00Z","relation":"upstream"},{"provider":"osv","source_id":"DLA-3383-1","url":"https://osv.dev/vulnerability/DLA-3383-1","modified_at":"2026-11-20T01:18:40.102735Z","relation":"upstream"},{"provider":"osv","source_id":"USN-5847-1","url":"https://osv.dev/vulnerability/USN-5847-1","license":"CC-BY-SA-4.0","modified_at":"2026-04-27T16:47:19.671911Z","relation":"upstream"},{"provider":"cvelistv5","source_id":"CVE-2022-1537","url":"https://www.cve.org/CVERecord?id=CVE-2022-1537","license":"CC-BY-4.0","modified_at":"2024-08-03T00:10:03.294Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2022-1537","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-1537","relation":"self"},{"provider":"osv","source_id":"AZL-44082","url":"https://osv.dev/vulnerability/AZL-44082","license":"MIT","modified_at":"2026-11-19T05:24:34Z","relation":"self"},{"provider":"osv","source_id":"DEBIAN-CVE-2022-1537","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2022-1537","modified_at":"2026-11-18T06:01:56.822048Z","relation":"self"},{"provider":"osv","source_id":"GHSA-rm36-94g8-835r","url":"https://osv.dev/vulnerability/GHSA-rm36-94g8-835r","license":"CC-BY-4.0","modified_at":"2026-09-10T03:49:40.619385Z","relation":"self"},{"provider":"osv","source_id":"UBUNTU-CVE-2022-1537","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2022-1537","license":"CC-BY-SA-4.0","modified_at":"2026-02-04T03:06:55.736712Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2022-1537","url":"https://access.redhat.com/security/cve/CVE-2022-1537","license":"CC-BY-4.0","modified_at":"2025-07-10T05:40:15Z","relation":"self"}]}
