- -------------------------------------------------------------------------
Debian LTS Advisory DLA-3383-1                debian-lts@lists.debian.org
https://www.debian.org/lts/security/                           Chris Lamb
April 05, 2023                                https://wiki.debian.org/LTS
- -------------------------------------------------------------------------

Package        : grunt
Version        : 1.0.1-8+deb10u2
CVE ID         : CVE-2022-1537

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).

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

We recommend that you upgrade your grunt packages.

For the detailed security status of grunt please refer to
its security tracker page at:
https://security-tracker.debian.org/tracker/source-package/grunt

Further information about Debian LTS security advisories, how to apply
these updates to your system and frequently asked questions can be
found at: https://wiki.debian.org/LTS

Debian LTS: DLA-3383-1: grunt security update

April 5, 2023
It was discovered that there was a potential local privilege escalation in GruntJS, a multipurpose task runner and build system tool

Summary

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).

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

We recommend that you upgrade your grunt packages.

For the detailed security status of grunt please refer to
its security tracker page at:
https://security-tracker.debian.org/tracker/source-package/grunt

Further information about Debian LTS security advisories, how to apply
these updates to your system and frequently asked questions can be
found at: https://wiki.debian.org/LTS



Severity
Package : grunt
Version : 1.0.1-8+deb10u2
CVE ID : CVE-2022-1537

Related News