Bug 1470086 (CVE-2017-2292)

Summary: CVE-2017-2292 mcollective: RCE via YAML deserialization
Product: [Other] Security Response Reporter: Andrej Nemec <anemec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: abhgupta, admiller, ccoleman, dedgar, dmcphers, jgoulding, joelsmith, tiwillia
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: mcollective 2.10.4 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-05-20 21:16:28 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: 1470087, 1470088, 1470089    
Bug Blocks:    

Description Andrej Nemec 2017-07-12 11:43:34 UTC
 Versions of MCollective prior to 2.10.4 deserialized YAML from agents without calling safe_load, allowing the potential for arbitrary code execution on the server. The fix for this is to call YAML.safe_load on input. This has been tested in all Puppet-supplied MCollective plugins, but there is a chance that third-party plugins could rely on this insecure behavior.

External References:

https://puppet.com/security/cve/cve-2017-2292

Upstream patch:

https://github.com/puppetlabs/marionette-collective/commit/e0e741889f5adeb8f75387037106b0d28a9099b0

Comment 1 Andrej Nemec 2017-07-12 11:44:03 UTC
Created mcollective tracking bugs for this issue:

Affects: epel-6 [bug 1470088]
Affects: fedora-all [bug 1470087]


Created ruby193-mcollective tracking bugs for this issue:

Affects: openshift-1 [bug 1470089]

Comment 2 Product Security DevOps Team 2020-05-20 21:16:28 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2017-2292