Vulnerability   
Search   
    Search 324607 CVE descriptions
and 146377 test descriptions,
access 10,000+ cross references.
Tests   CVE   All  

Test ID:1.3.6.1.4.1.25623.1.1.1.2.2023.3383
Category:Debian Local Security Checks
Title:Debian: Security Advisory (DLA-3383-1)
Summary:The remote host is missing an update for the Debian 'grunt' package(s) announced via the DLA-3383-1 advisory.
Description:Summary:
The remote host is missing an update for the Debian 'grunt' package(s) announced via the DLA-3383-1 advisory.

Vulnerability Insight:
It was discovered that there was a potential local privilege escalation in GruntJS, a multipurpose task runner and build system tool.

file.copy operations in GruntJS were vulnerable to a TOCTOU ('time-of-check vs. time-of-use') race condition that could have led to arbitrary file writes in GitHub repositories. This could have then led to local privilege escalation if a lower-privileged user had write access to both source and destination directories, as the lower-privileged user could have created a symlink to the GruntJS user's ~
/.bashrc configuration file (etc).

CVE-2022-1537

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.

For Debian 10 Buster, this problem has been fixed in version 1.0.1-8+deb10u2.

We recommend that you upgrade your grunt packages.

Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: [link moved to references]

Affected Software/OS:
'grunt' package(s) on Debian 10.

Solution:
Please install the updated package(s).

CVSS Score:
6.9

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

Cross-Ref: Common Vulnerability Exposure (CVE) ID: CVE-2022-1537
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
CopyrightCopyright (C) 2023 Greenbone AG

This is only one of 146377 vulnerability tests in our test suite. Find out more about running a complete security audit.

To run a free test of this vulnerability against your system, register below.




© 1998-2025 E-Soft Inc. All rights reserved.