Grunt
CVE-2022-0436
MEDIUM
Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Lifecycle Timeline
1Blast Radius
ecosystem impact- 1 npm packages depend on grunt (1 direct, 0 indirect)
Ecosystem-wide dependent count for version 1.5.2.
DescriptionNVD
Path Traversal in GitHub repository gruntjs/grunt prior to 1.5.2.
AnalysisAI
Path Traversal in GitHub repository gruntjs/grunt prior to 1.5.2. Rated medium severity (CVSS 5.5), this vulnerability is low attack complexity. Public exploit code available.
Technical ContextAI
This vulnerability is classified as Path Traversal (CWE-22), which allows attackers to access files and directories outside the intended path. Path Traversal in GitHub repository gruntjs/grunt prior to 1.5.2. Affected products include: Gruntjs Grunt. Version information: prior to 1.5.2..
RemediationAI
A vendor patch is available. Apply the latest security update as soon as possible. Validate and canonicalize file paths. Use chroot or sandboxing. Reject input containing path separators or '../' sequences.
The package grunt before 1.3.0 are vulnerable to Arbitrary Code Execution due to the default usage of the function load(
file.copy operations in GruntJS are vulnerable to a TOCTOU race condition leading to arbitrary file write in GitHub repo
Same weakness CWE-22 – Path Traversal
View allSame technique Path Traversal
View allShare
External POC / Exploit Code
Leaving vuln.today