{
  "cveId": "CVE-2022-1537",
  "url": "https://patchblox.com/security/cve/CVE-2022-1537",
  "summary": "CVE-2022-1537 is fixed in grunt on 1 platform, first by grunt 1.0.1-8ubuntu0.1\u002Besm1, released May 10, 2022. It is not reported as exploited. Patch Radar priority: High.",
  "title": "grunt: file.copy operations in GruntJS are vulnerable to a TOCTOU race condition leading to arbitrary file write in GitHub r...",
  "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\u0027s .bashrc file or replace /etc/shadow file if the GruntJS user is root.",
  "published": "2022-05-10T07:15:00Z",
  "severity": "high",
  "cvss": 7,
  "cvssVector": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
  "epss": 0.00302,
  "epssPercentile": 0.23058,
  "priority": "High",
  "priorityTier": 3,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "grunt",
      "release": "Debian 12.15 (bookworm)",
      "fixedVersion": "1.5.3-1",
      "fix": "DEBIAN-CVE-2022-1537",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-1537",
      "released": "2022-05-10T14:15:08Z"
    },
    {
      "platform": "linux",
      "product": "grunt",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "1.5.3-1",
      "fix": "DEBIAN-CVE-2022-1537",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-1537",
      "released": "2022-05-10T14:15:08Z"
    },
    {
      "platform": "linux",
      "product": "grunt",
      "release": "Debian 14",
      "fixedVersion": "1.5.3-1",
      "fix": "DEBIAN-CVE-2022-1537",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-1537",
      "released": "2022-05-10T14:15:08Z"
    },
    {
      "platform": "linux",
      "product": "grunt",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "1.0.1-8ubuntu0.1\u002Besm1",
      "fix": "grunt 1.0.1-8ubuntu0.1\u002Besm1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-grunt-1.0.1-8ubuntu0.1-esm1",
      "released": "2022-05-10T07:15:00Z"
    },
    {
      "platform": "linux",
      "product": "grunt",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "1.0.4-2ubuntu0.1~esm1",
      "fix": "grunt 1.0.4-2ubuntu0.1~esm1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-grunt-1.0.4-2ubuntu0.1-esm1",
      "released": "2022-05-10T07:15:00Z"
    },
    {
      "platform": "linux",
      "product": "grunt",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "1.4.1-2ubuntu0.1~esm1",
      "fix": "grunt 1.4.1-2ubuntu0.1~esm1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-grunt-1.4.1-2ubuntu0.1-esm1",
      "released": "2022-05-10T07:15:00Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T06:59:42Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}