MEDIUM
GHSA-mpmx-gm5v-q789
Puppet uses predictable filenames, allowing arbitrary file overwrite
Quick fix
GHSA-mpmx-gm5v-q789 — puppet: upgrade to the fixed version with the command below.
bundle update puppetDetails
Puppet 2.7.x before 2.7.5, 2.6.x before 2.6.11, and 0.25.x, when running in `--edit` mode, uses a predictable file name, which allows local users to run arbitrary Puppet code or trick a user into editing arbitrary files.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2011-3871[ADVISORY]
- https://github.com/puppetlabs/puppet/commit/343c7bd381b63e042d437111718918f951d9b30d[WEB]
- https://github.com/puppetlabs/puppet/commit/d76c30935460ded953792dfe49f72b8c5158e899[WEB]
- https://github.com/puppetlabs/puppet[PACKAGE]
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/puppet/CVE-2011-3871.yml[WEB]
- https://puppet.com/security/cve/cve-2011-3871[WEB]
- http://groups.google.com/group/puppet-announce/browse_thread/thread/91e3b46d2328a1cb[WEB]
- http://lists.fedoraproject.org/pipermail/package-announce/2011-October/068053.html[WEB]
- http://lists.fedoraproject.org/pipermail/package-announce/2011-October/068061.html[WEB]
- http://lists.fedoraproject.org/pipermail/package-announce/2011-October/068093.html[WEB]
- http://www.debian.org/security/2011/dsa-2314[WEB]
- http://www.ubuntu.com/usn/USN-1223-1[WEB]
- http://www.ubuntu.com/usn/USN-1223-2[WEB]