CVE-2020-7729
HIGH7.1EPSS 2.4%Arbitrary Code Execution in grunt
Published: 5/6/2021Modified: 2/4/2026
Description
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.
Affected packages (3)
- Debian/gruntfrom 0, < 1.3.0-1
- Debian/gruntfrom 0, < 1.0.1-5+deb9u1
- npm/gruntfrom 0, < 1.3.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H |
References (8)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2020-7729
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2020-7729
- WEBhttps://github.com/gruntjs/grunt/blob/master/lib/grunt/file.js%23L249
- WEBhttps://github.com/gruntjs/grunt/commit/e350cea1724eb3476464561a380fb6a64e61e4e7
- WEBhttps://lists.debian.org/debian-lts-announce/2020/09/msg00008.html
- WEBhttps://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-607922
- WEBhttps://snyk.io/vuln/SNYK-JS-GRUNT-597546
- WEBhttps://usn.ubuntu.com/4595-1