CVE-2011-3871
MEDIUM 6.2CVSS 2.0Puppet uses predictable filenames, allowing arbitrary file overwrite
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.
- Published
- 27 Oct 2011
- Last modified
- 16 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-264CWE-340
- Also known as
- GHSA-mpmx-gm5v-q789
- Sources
- NVDJSONOSV GHSA-mpmx-gm5v-q789JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.2 | AV:L/AC:H/Au:N/C:C/I:C/A:C |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | puppet | puppetcpe:2.3:a:puppet:puppet:2.6.0:*:*:*:*:*:*:* |
= 2.6.0 | |
| NVD | puppet | puppetcpe:2.3:a:puppet:puppet:2.6.1:*:*:*:*:*:*:* |
= 2.6.1 | |
| NVD | puppet | puppetcpe:2.3:a:puppet:puppet:2.6.2:*:*:*:*:*:*:* |
= 2.6.2 | |
| NVD | puppet | puppetcpe:2.3:a:puppet:puppet:2.6.3:*:*:*:*:*:*:* |
= 2.6.3 | |
| NVD | puppet | puppetcpe:2.3:a:puppet:puppet:2.6.4:*:*:*:*:*:*:* |
= 2.6.4 | |
| NVD | puppet | puppetcpe:2.3:a:puppet:puppet:2.6.5:*:*:*:*:*:*:* |
= 2.6.5 | |
| NVD | puppet | puppetcpe:2.3:a:puppet:puppet:2.6.6:*:*:*:*:*:*:* |
= 2.6.6 | |
| NVD | puppet | puppetcpe:2.3:a:puppet:puppet:2.6.7:*:*:*:*:*:*:* |
= 2.6.7 | |
| NVD | puppet | puppetcpe:2.3:a:puppet:puppet:2.6.8:*:*:*:*:*:*:* |
= 2.6.8 | |
| NVD | puppet | puppetcpe:2.3:a:puppet:puppet:2.6.9:*:*:*:*:*:*:* |
= 2.6.9 | |
| NVD | puppet | puppetcpe:2.3:a:puppet:puppet:2.6.10:*:*:*:*:*:*:* |
= 2.6.10 | |
| NVD | puppet | puppetcpe:2.3:a:puppet:puppet:2.7.2:*:*:*:*:*:*:* |
= 2.7.2 | |
| NVD | puppet | puppetcpe:2.3:a:puppet:puppet:2.7.3:*:*:*:*:*:*:* |
= 2.7.3 | |
| NVD | puppet | puppetcpe:2.3:a:puppet:puppet:2.7.4:*:*:*:*:*:*:* |
= 2.7.4 | |
| NVD | puppetlabs | puppetcpe:2.3:a:puppetlabs:puppet:2.7.0:*:*:*:*:*:*:* |
= 2.7.0 | |
| NVD | puppetlabs | puppetcpe:2.3:a:puppetlabs:puppet:2.7.1:*:*:*:*:*:*:* |
= 2.7.1 | |
| NVD | puppet | puppetcpe:2.3:a:puppet:puppet:0.25.0:*:*:*:*:*:*:* |
= 0.25.0 | |
| NVD | puppet | puppetcpe:2.3:a:puppet:puppet:0.25.1:*:*:*:*:*:*:* |
= 0.25.1 | |
| NVD | puppet | puppetcpe:2.3:a:puppet:puppet:0.25.2:*:*:*:*:*:*:* |
= 0.25.2 | |
| NVD | puppet | puppetcpe:2.3:a:puppet:puppet:0.25.3:*:*:*:*:*:*:* |
= 0.25.3 | |
| NVD | puppet | puppetcpe:2.3:a:puppet:puppet:0.25.4:*:*:*:*:*:*:* |
= 0.25.4 | |
| NVD | puppet | puppetcpe:2.3:a:puppet:puppet:0.25.5:*:*:*:*:*:*:* |
= 0.25.5 | |
| NVD | puppet | puppetcpe:2.3:a:puppet:puppet:0.25.6:*:*:*:*:*:*:* |
= 0.25.6 | |
| OSV | RubyGems | puppet | >= 2.7.0, < 2.7.5 | 2.7.5 |
| OSV | RubyGems | puppet | < 2.6.11 | 2.6.11 |
References
- http://groups.google.com/group/puppet-announce/browse_thread/thread/91e3b46d2328a1cb · Patch, WEB
- http://lists.fedoraproject.org/pipermail/package-announce/2011-October/068053.html · Patch, WEB
- http://lists.fedoraproject.org/pipermail/package-announce/2011-October/068061.html · Patch, WEB
- http://lists.fedoraproject.org/pipermail/package-announce/2011-October/068093.html · Patch, WEB
- http://secunia.com/advisories/46458 · Vendor Advisory
- 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
- https://puppet.com/security/cve/cve-2011-3871 · WEB
- 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
History
- 25 Nov 2026 20:16 UTC · NVD: first stored (published 27 Oct 2011)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 14 May 2022)