CVE-2011-3871 json
Puppet uses predictable filenames, allowing arbitrary file overwrite
published 2011-10-27 15 y ago modified 2026-06-16 4 mo ago also GHSA-mpmx-gm5v-q789 , EUVD-2022-4604
- cvss
- 6.2
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 27%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- rubygems puppet 2.6.11, 2.7.5
- puppet Debian 11 2.7.3-3
debian advisories DEBIAN-CVE-2011-3871
- github.com/puppetlabs/puppet@343c7bd commit
- github.com/puppetlabs/puppet@d76c309 commit
- groups.google.com/group/puppet-announce/browse_thread/thread/91e3b46d2328a1cb patch
- lists.fedoraproject.org/pipermail/package-announce/2011-October/068061.html advisory
- lists.fedoraproject.org/pipermail/package-announce/2011-October/068093.html advisory
- lists.fedoraproject.org/pipermail/package-announce/2011-October/068053.html advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2011-3871 updated cvss 4.6
puppet: predictable temporary file using RAL
-
Red Hat Enterprise MRG 1 puppetaffected: no fix planned “Will not fix”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.34% chance of exploitation in the next 30 days, higher than 27% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 6.2 | AV:L/AC:H/Au:N/C:C/I:C/A:C |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | puppet | >=2.7.0, <2.7.5 <2.6.11 |
2.7.5 2.6.11 |
Classification
References
-
lists.fedoraproject.org
/pipermail/package-announce/2011-October/068061.html
vendor-advisory, web, patch
-
lists.fedoraproject.org
/pipermail/package-announce/2011-October/068093.html
vendor-advisory, web, patch
-
lists.fedoraproject.org
/pipermail/package-announce/2011-October/068053.html
vendor-advisory, web, patch
-
groups.google.com
/group/puppet-announce/browse_thread/thread/91e3b46d2328a1cb
web, patch
-
github.com
/puppetlabs/puppet/commit/343c7bd381b63e042d437111718918f951d9b30d
web
-
github.com
/puppetlabs/puppet/commit/d76c30935460ded953792dfe49f72b8c5158e899
web
-
debian.org
/security/2011/dsa-2314
vendor-advisory, web
-
ubuntu.com
/usn/USN-1223-1
vendor-advisory, web
-
ubuntu.com
/usn/USN-1223-2
vendor-advisory, web
-
secunia.com
/advisories/46458
third-party-advisory, vendor-advisory
-
puppet.com
/security/cve/cve-2011-3871
web
-
nvd.nist.gov
/vuln/detail/CVE-2011-3871
advisory
-
github.com
/puppetlabs/puppet
package
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/puppet/CVE-2011-3871.yml
web
Sources
- CVE List CVE-2011-3871
- GitHub Advisory GHSA-mpmx-gm5v-q789
- NVD CVE-2011-3871
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.