SCA: security update for grunt (GHSA-rm36-94g8-835r)

high Tenable Self-Hosted Container Security Plugin ID 418798

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2022-1537)

See Also

https://github.com/advisories/GHSA-rm36-94g8-835r

Plugin Details

Severity: High

ID: 418798

Version: Revision 1.6

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.12

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Medium

Base Score: 6.9

Temporal Score: 5.4

Vector: CVSS2#AV:L/AC:M/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2022-1537

CVSS v3

Risk Factor: High

Base Score: 7

Temporal Score: 6.3

Vector: CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 5/11/2022

Vulnerability Publication Date: 5/10/2022

Reference Information

CVE: CVE-2022-1537

cwe: CWE-367