HIGH7.1
GHSA-m5pj-vjjf-4m3h
Arbitrary Code Execution in grunt
Quick fix
GHSA-m5pj-vjjf-4m3h — grunt: upgrade to the fixed version with the command below.
npm install grunt@1.3.0Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-7729[ADVISORY]
- https://github.com/gruntjs/grunt/commit/e350cea1724eb3476464561a380fb6a64e61e4e7[WEB]
- https://github.com/gruntjs/grunt/blob/master/lib/grunt/file.js%23L249[WEB]
- https://lists.debian.org/debian-lts-announce/2020/09/msg00008.html[WEB]
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-607922[WEB]
- https://snyk.io/vuln/SNYK-JS-GRUNT-597546[WEB]
- https://usn.ubuntu.com/4595-1[WEB]