DEBIAN-CVE-2022-1537

Source
https://security-tracker.debian.org/tracker/CVE-2022-1537
Import Source
https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-1537.json
JSON Data
https://api.osv.dev/v1/vulns/DEBIAN-CVE-2022-1537
Upstream
Published
2022-05-10T14:15:08Z
Modified
2025-09-30T05:16:50.605065Z
Severity
  • 7.0 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Debian:11 / grunt

Package

Name
grunt
Purl
pkg:deb/debian/grunt?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.3.0-1+deb11u2

Affected versions

1.*

1.3.0-1
1.3.0-1+deb11u1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / grunt

Package

Name
grunt
Purl
pkg:deb/debian/grunt?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.5.3-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / grunt

Package

Name
grunt
Purl
pkg:deb/debian/grunt?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.5.3-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:14 / grunt

Package

Name
grunt
Purl
pkg:deb/debian/grunt?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.5.3-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}