Vulnerability · Published Sep 3, 2020 · Assigned by snyk
CVE-2020-7729Arbitrary Code Execution
High 7.1
In plain English
A high-severity security flaw in grunt. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.3% (higher than 83% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)7.1High
Exploit odds (30 days)2.3%top 16.6% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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 & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | grunt | 1.3.0-1 | DEBIAN-CVE-2020-7729 |
| Debian:13 | grunt | 1.3.0-1 | DEBIAN-CVE-2020-7729 |
| Debian:14 | grunt | 1.3.0-1 | DEBIAN-CVE-2020-7729 |
| npm | grunt | 1.3.0 | GHSA-m5pj-vjjf-4m3h |
Affected products (as reported)
References
- https://snyk.io/vuln/SNYK-JS-GRUNT-597546 x_refsource_MISC
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-607922 x_refsource_MISC
- https://github.com/gruntjs/grunt/blob/master/lib/grunt/file.js%23L249 x_refsource_MISC
- https://github.com/gruntjs/grunt/commit/e350cea1724eb3476464561a380fb6a64e61e4e7 x_refsource_MISC
- [debian-lts-announce] 20200909 [SECURITY] [DLA 2368-1] grunt security update mailing-list, x_refsource_MLIST
- USN-4595-1 vendor-advisory, x_refsource_UBUNTU