← Übersicht Red Hat Enterprise Linux

file.copy operations in GruntJS are vulnerable to a TOCTOU race condition leading to arbitrary file write in gruntjs/grunt

CVE-2022-1537 · AZL-44082 · DEBIAN-CVE-2022-1537 · GHSA-rm36-94g8-835r · UBUNTU-CVE-2022-1537

Hoch · CVSS 7.8 Ubuntu: mediumRed Hat: Important Lokal Kein Fix bekannt

Veröffentlicht
10.05.2022
Zuletzt geändert
19.11.2026
EPSS (30 Tage)
0.3 %
CVSS-Vektor
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Beschreibung

Originaltext der Quelle, nicht übersetzt.

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.

Status beim Hersteller

Red Hat stuft seine Produktlinien ein: 3 betroffen, 3 nicht betroffen.

OpenShift Service Mesh 2.0 BetroffenFix ausstehend servicemesh-grafana, servicemesh-grafana-prometheus
OpenShift Service Mesh 2.1 Betroffenwird nicht behoben servicemesh-grafana
Red Hat JBoss Data Grid 7 Betroffenaußerhalb des Supports gruntjs
Nicht betroffen (3)
Red Hat Enterprise Linux 8Nicht betroffenverwundbarer Code nicht enthaltengrafana, grafana-azure-monitor, grafana-cloudwatch, grafana-elasticsearch, grafana-graphite, grafana-influxdb, grafana-loki, grafana-mssql, grafana-mysql, grafana-opentsdb, grafana-postgres, grafana-prometheus, grafana-selinux, grafana-stackdriver
Red Hat JBoss Enterprise Application Platform 7Nicht betroffenverwundbarer Code nicht enthaltenorg.jboss.hal-hal-parent
Red Hat JBoss Enterprise Application Platform Expansion PackNicht betroffenverwundbarer Code nicht enthaltengruntjs

Betroffene Pakete im beobachteten Stack

Red Hat:service_mesh:2.0servicemesh-grafanakein Fix bekanntCVE-2022-1537
Red Hat:service_mesh:2.0servicemesh-grafana-prometheuskein Fix bekanntCVE-2022-1537
Red Hat:service_mesh:2.1servicemesh-grafanakein Fix bekanntCVE-2022-1537
Weitere betroffene Pakete (14)
Azure Linux:3js-jquerykein Fix bekanntAZL-44082
CVEgruntjs/gruntjs/grunt1.5.3CVE-2022-1537
Debian:10grunt1.0.1-8+deb10u2DLA-3383-1
Debian:12grunt1.5.3-1DEBIAN-CVE-2022-1537
Debian:13grunt1.5.3-1DEBIAN-CVE-2022-1537
Debian:14grunt1.5.3-1DEBIAN-CVE-2022-1537
NVDgruntjs:grunt1.5.3CVE-2022-1537
Ubuntu:Pro:18.04:LTSgrunt1.0.1-8ubuntu0.1+esm1UBUNTU-CVE-2022-1537
Ubuntu:Pro:18.04:LTSgrunt1.0.1-8ubuntu0.1+esm1USN-5847-1
Ubuntu:Pro:20.04:LTSgrunt1.0.4-2ubuntu0.1~esm1UBUNTU-CVE-2022-1537
Ubuntu:Pro:20.04:LTSgrunt1.0.4-2ubuntu0.1~esm1USN-5847-1
Ubuntu:Pro:22.04:LTSgrunt1.4.1-2ubuntu0.1~esm1UBUNTU-CVE-2022-1537
Ubuntu:Pro:22.04:LTSgrunt1.4.1-2ubuntu0.1~esm1USN-5847-1
npmgrunt1.5.3GHSA-rm36-94g8-835r

Empfohlene Prüfung

  1. Feststellen, ob und in welcher Version die betroffenen Pakete in Ihren Systemen, Images und Abhängigkeiten vorkommen.
  2. Wo eine Fix-Version genannt ist: aktualisieren. Wo nicht: Hersteller-Advisory und Referenzen auf Workarounds prüfen.
  3. Erreichbarkeit beachten: Der Angriffsweg (Lokal) ist aus dem CVSS-Vektor abgeleitet.

Diese Seite sagt nichts darüber, ob Ihre Systeme betroffen sind. Das klärt erst eine Prüfung Ihrer Versionen.