CVE-2011-3871
EPSS 0.04%Puppet uses predictable filenames, allowing arbitrary file overwrite
Published: 5/14/2022Modified: 4/28/2026
Description
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.
Affected packages (2)
- Debian/puppetfrom 0, < 2.7.3-3
- RubyGems/puppet>= 2.7.0, < 2.7.5
References (14)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2011-3871
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2011-3871
- PATCHhttps://github.com/puppetlabs/puppet
- WEBhttp://groups.google.com/group/puppet-announce/browse_thread/thread/91e3b46d2328a1cb
- WEBhttp://lists.fedoraproject.org/pipermail/package-announce/2011-October/068053.html
- WEBhttp://lists.fedoraproject.org/pipermail/package-announce/2011-October/068061.html
- WEBhttp://lists.fedoraproject.org/pipermail/package-announce/2011-October/068093.html
- WEBhttps://github.com/puppetlabs/puppet/commit/343c7bd381b63e042d437111718918f951d9b30d
- WEBhttps://github.com/puppetlabs/puppet/commit/d76c30935460ded953792dfe49f72b8c5158e899
- WEBhttps://github.com/rubysec/ruby-advisory-db/blob/master/gems/puppet/CVE-2011-3871.yml
- WEBhttps://puppet.com/security/cve/cve-2011-3871
- WEBhttp://www.debian.org/security/2011/dsa-2314
- WEBhttp://www.ubuntu.com/usn/USN-1223-1
- WEBhttp://www.ubuntu.com/usn/USN-1223-2