{"api_version":"1","generated_at":"2026-07-24T20:50:08+00:00","cve":"CVE-2020-7729","urls":{"html":"https://cve.report/CVE-2020-7729","api":"https://cve.report/api/cve/CVE-2020-7729.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2020-7729","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2020-7729"},"summary":{"title":"CVE-2020-7729","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.","state":"PUBLIC","assigner":"report@snyk.io","published_at":"2020-09-03 09:15:00","updated_at":"2022-11-16 14:05:00"},"problem_types":["CWE-1188"],"metrics":[],"references":[{"url":"https://github.com/gruntjs/grunt/commit/e350cea1724eb3476464561a380fb6a64e61e4e7","name":"N/A","refsource":"CONFIRM","tags":["Patch","Third Party Advisory"],"title":"Switch to use `safeLoad` for loading YML files via `file.readYAML`. · gruntjs/grunt@e350cea · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.debian.org/debian-lts-announce/2020/09/msg00008.html","name":"[debian-lts-announce] 20200909 [SECURITY] [DLA 2368-1] grunt security update","refsource":"MLIST","tags":["Third Party Advisory"],"title":"[SECURITY] [DLA 2368-1] grunt security update","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/gruntjs/grunt/blob/master/lib/grunt/file.js%23L249","name":"N/A","refsource":"CONFIRM","tags":["Broken Link"],"title":"","mime":"","httpstatus":"","archivestatus":""},{"url":"https://snyk.io/vuln/SNYK-JS-GRUNT-597546","name":"N/A","refsource":"CONFIRM","tags":["Exploit","Third Party Advisory"],"title":"Arbitrary Code Execution in grunt | Snyk","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-607922","name":"N/A","refsource":"CONFIRM","tags":["Third Party Advisory"],"title":"Arbitrary Code Execution in org.webjars.npm:grunt | Snyk","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://usn.ubuntu.com/4595-1/","name":"USN-4595-1","refsource":"UBUNTU","tags":[],"title":"USN-4595-1: Grunt vulnerability | Ubuntu security notices | Ubuntu","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/gruntjs/grunt/blob/master/lib/grunt/file.js#L249","name":"MISC:https://github.com/gruntjs/grunt/blob/master/lib/grunt/file.js%23L249","refsource":"MITRE","tags":[],"title":"grunt/file.js at main · gruntjs/grunt · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-7729","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7729","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"LEGACY","value":"Snyk Security Team","lang":""}],"nvd_cpes":[{"cve_year":"2020","cve_id":"7729","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"canonical","cpe5":"ubuntu_linux","cpe6":"18.04","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"lts","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2020","cve_id":"7729","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"9.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2020","cve_id":"7729","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"9.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2020","cve_id":"7729","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"gruntjs","cpe5":"grunt","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"},{"cve_year":"2020","cve_id":"7729","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"gruntjs","cpe5":"grunt","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2020-7729","qid":"199571","title":"Ubuntu Security Notification for Grunt Vulnerabilities (USN-5847-1)"},{"cve":"CVE-2020-7729","qid":"982660","title":"Nodejs (npm) Security Update for grunt (GHSA-m5pj-vjjf-4m3h)"}]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","CVE_data_meta":{"ASSIGNER":"report@snyk.io","DATE_PUBLIC":"2020-09-03T08:57:21.320655Z","ID":"CVE-2020-7729","STATE":"PUBLIC","TITLE":"Arbitrary Code Execution"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"grunt","version":{"version_data":[{"version_affected":"<","version_value":"1.3.0"}]}}]},"vendor_name":"n/a"}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Arbitrary Code Execution"}]}]},"references":{"reference_data":[{"refsource":"MISC","url":"https://snyk.io/vuln/SNYK-JS-GRUNT-597546","name":"https://snyk.io/vuln/SNYK-JS-GRUNT-597546"},{"refsource":"MISC","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-607922","name":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-607922"},{"refsource":"MISC","url":"https://github.com/gruntjs/grunt/blob/master/lib/grunt/file.js%23L249","name":"https://github.com/gruntjs/grunt/blob/master/lib/grunt/file.js%23L249"},{"refsource":"MISC","url":"https://github.com/gruntjs/grunt/commit/e350cea1724eb3476464561a380fb6a64e61e4e7","name":"https://github.com/gruntjs/grunt/commit/e350cea1724eb3476464561a380fb6a64e61e4e7"},{"refsource":"MLIST","name":"[debian-lts-announce] 20200909 [SECURITY] [DLA 2368-1] grunt security update","url":"https://lists.debian.org/debian-lts-announce/2020/09/msg00008.html"},{"refsource":"UBUNTU","name":"USN-4595-1","url":"https://usn.ubuntu.com/4595-1/"}]},"description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H/RL:O","baseScore":7.1,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},"credit":[{"lang":"eng","value":"Snyk Security Team"}]},"nvd":{"publishedDate":"2020-09-03 09:15:00","lastModifiedDate":"2022-11-16 14:05:00","problem_types":["CWE-1188"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.1,"baseSeverity":"HIGH"},"exploitabilityScore":1.2,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:H/Au:S/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"HIGH","authentication":"SINGLE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":4.6},"severity":"MEDIUM","exploitabilityScore":3.9,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:gruntjs:grunt:*:*:*:*:*:node.js:*:*","versionEndExcluding":"1.3.0","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2020","CveId":"7729","Ordinal":"168010","Title":"CVE-2020-7729","CVE":"CVE-2020-7729","Year":"2020"},"notes":[{"CveYear":"2020","CveId":"7729","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2020","CveId":"7729","Ordinal":"2","NoteData":"2020-09-03","Type":"Other","Title":"Published"},{"CveYear":"2020","CveId":"7729","Ordinal":"3","NoteData":"2020-10-26","Type":"Other","Title":"Modified"}]}}}