Path traversal in grunt - CVE-2022-0436

 

Path traversal in grunt - CVE-2022-0436

Published: February 7, 2023


Vulnerability identifier: #VU72012
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-0436
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences. A remote attacker can send a specially crafted HTTP request and read arbitrary files on the system.


Affected software

grunt
Ubuntu
openEuler
grunt (Ubuntu package)
nodejs-grunt

How to mitigate CVE-2022-0436

Install update from vendor's website.

grunt - update to 1.5.2
grunt (Ubuntu package) - update to Ubuntu Pro
nodejs-grunt - update to 1.0.1-3

External References

Related Security Bulletins