Bug 1875430 (CVE-2020-7729)

Summary: CVE-2020-7729 nodejs-grunt: use of the unsafe load function from js-yaml package can lead to ACE
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: extras-orphan, nodejs-sig, tchollingsworth
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-09-03 19:17:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1875432, 1875431    
Bug Blocks:    

Description Guilherme de Almeida Suckevicz 2020-09-03 14:10:06 UTC
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.

Reference:
https://snyk.io/vuln/SNYK-JS-GRUNT-597546

Upstream commit:
https://github.com/gruntjs/grunt/commit/e350cea1724eb3476464561a380fb6a64e61e4e7

Comment 1 Guilherme de Almeida Suckevicz 2020-09-03 14:10:26 UTC
Created nodejs-grunt tracking bugs for this issue:

Affects: epel-all [bug 1875432]
Affects: fedora-all [bug 1875431]

Comment 2 Product Security DevOps Team 2020-09-03 19:17:48 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.