RCE in Gruntjs Grunt
CVE-2020-7729
The package grunt before 1.3.0 are vulnerable to Arbitrary Code Execution due to the default usage of the function load() instead of its secure replacement safeLoad() of the package js-yaml inside grunt.file.readYAML.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.023, 83.6th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Gruntjs Grunt
- Canonical Ubuntu Linux — versions 18.04
- Debian Linux — versions 9.0
- Grunt — versions unspecified
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 9 other repositories (404notf0und/CVE-Flow, ARPSyndicate/cvemon, cdcavell/cdcavell.name, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- snyk.io/vuln/SNYK-JS-GRUNT-597546 (Exploit, Third Party Advisory)
- snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-607922 (Third Party Advisory)
- github.com/gruntjs/grunt/blob/master/lib/grunt/file.js#L249 (Broken Link)
- github.com/gruntjs/grunt/commit/e350cea1724eb3476464561a380fb6a64e61e4e7 (Patch, Third Party Advisory)
- [debian-lts-announce] 20200909 [SECURITY] [DLA 2368-1] grunt security update (mailing-list, Mailing List, Third Party Advisory)
- USN-4595-1 (vendor-advisory, Third Party Advisory)