CVE-2020-7729
published high CVSS 3.1 · 7.1Arbitrary Code Execution
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | gruntunspecified to < 1.3.0 | Affected | Not stated | snyk |
| Debian | stretch | grunt | Advisory build | 1.0.1-5+deb9u1 | DLA-2368-1 |
| Ubuntu | bionic | grunt | Advisory build | 1.0.1-8ubuntu0.1 | USN-4595-1 |
| Ubuntu | focal | grunt | Advisory build | 1.0.4-2ubuntu0.1~esm1 | USN-5847-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- snyk · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H/RL:O
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | grunt | unspecified to < 1.3.0 (affected · custom) | snyk · cna |
Weaknesses
1- Arbitrary Code Execution
References
6- https://github.com/gruntjs/grunt/blob/master/lib/grunt/file.js%23L249
- https://github.com/gruntjs/grunt/commit/e350cea1724eb3476464561a380fb6a64e61e4e7
- [debian-lts-announce] 20200909 [SECURITY] [DLA 2368-1] grunt security update https://lists.debian.org/debian-lts-announce/2020/09/msg00008.html
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-607922
- https://snyk.io/vuln/SNYK-JS-GRUNT-597546
- USN-4595-1 https://usn.ubuntu.com/4595-1/
Provider assertions
2snyk · cna
Arbitrary Code Execution
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- d6557da39d9bee6ebd44e6609b2773b7fd2ae7a4ff89878b02d2a2b58ac9f136
- Ingested
- 23 Sep 2026, 07:51:25 UTC
- Source record
- Official CVE record