CVE-2017-2292
mcollective: RCE via YAML deserialization
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Red Hat (high), Ubuntu (medium).
Description
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| debian 11 | mcollective | 2.12.0+dfsg-1 |
| debian 12 | mcollective | 2.12.0+dfsg-1 |
| debian 7 | mcollective | no fix listed |
| debian 8 | mcollective | no fix listed |
| echo | mcollective | 2.12.0+dfsg-1 |
| ubuntu 18.04-ESM | mcollective | no fix listed |
References
- https://access.redhat.com/security/cve/CVE-2017-2292
- https://github.com/puppetlabs/marionette-collective/commit/e0e741889f5adeb8f75387037106b0d28a9099b0
- https://nvd.nist.gov/vuln/detail/CVE-2017-2292
- https://puppet.com/security/cve/cve-2017-2292
- https://security.gentoo.org/glsa/201709-01
- https://www.cve.org/CVERecord?id=CVE-2017-2292