VDB

CVE-2022-1537

CVE-2022-1537 PUBLISHED CVSS 7.800000190734863 HIGH

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.

EPSS 0.25% · 48.0th percentile

Risk Scores

CVSS v3.0
7.800000190734863
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Score
0.25%
48.0th percentile

Affected Products

VendorProductVersions
gruntjsgruntjs/gruntunspecified
npmgrunt0
gruntjsgrunt0

Timeline

  • May 10, 2022 CVE Published
  • May 11, 2022 EPSS Score
  • Jun 29, 2022 EPSS Score
  • Aug 18, 2022 EPSS Score
  • Oct 7, 2022 EPSS Score
  • Nov 25, 2022 EPSS Score
  • Jan 13, 2023 EPSS Score
  • Mar 3, 2023 EPSS Score
  • Mar 7, 2023 EPSS Score
  • Apr 21, 2023 EPSS Score
  • Jun 10, 2023 EPSS Score
  • Jul 29, 2023 EPSS Score
Open in Interactive Console →
$ Console Community · 100/wk Open console ›