# CVE-2011-3871

- Priority: **Routine**
- Reason: Not severe (CVSS 6.2, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2011-10-27 · Modified: 2024-08-06
- Aliases: DEBIAN-CVE-2011-3871, GHSA-mpmx-gm5v-q789
- Record: https://cvemate.com/vulnerability/CVE-2011-3871 · JSON: https://cvemate.com/vulnerability/CVE-2011-3871/json

## Description

```text
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.
```

## Signals

- CVSS: 6.2 medium (v2.0, NVD) AV:L/AC:H/Au:N/C:C/I:C/A:C
- EPSS: 0.338%, percentile 29.195%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian puppet (Debian): \< 2.7.3-3
- RubyGems puppet (RubyGems): ≥ 2.7.0, \< 2.7.5 \| \< 2.6.11
- puppet puppet: 2.6.0 \| 2.6.1 \| 2.6.2 \| 2.6.3 \| 2.6.4 \| 2.6.5 \| 2.6.6 \| 2.6.7 \| 2.6.8 \| 2.6.9 \| 2.6.10 \| 2.7.2 \| 2.7.3 \| 2.7.4 \| 0.25.0 \| 0.25.1 \| 0.25.2 \| 0.25.3 \| 0.25.4 \| 0.25.5 \| 0.25.6
- puppetlabs puppet: 2.7.0 \| 2.7.1

## References

- <http://lists.fedoraproject.org/pipermail/package-announce/2011-October/068061.html>
- <http://lists.fedoraproject.org/pipermail/package-announce/2011-October/068093.html>
- <http://www.debian.org/security/2011/dsa-2314>
- <http://secunia.com/advisories/46458>
- <https://puppet.com/security/cve/cve-2011-3871>
- <http://lists.fedoraproject.org/pipermail/package-announce/2011-October/068053.html>
- <http://groups.google.com/group/puppet-announce/browse_thread/thread/91e3b46d2328a1cb>
- <http://www.ubuntu.com/usn/USN-1223-1>
- <http://www.ubuntu.com/usn/USN-1223-2>
- <https://security-tracker.debian.org/tracker/CVE-2011-3871>
- <https://nvd.nist.gov/vuln/detail/CVE-2011-3871>
- <https://github.com/puppetlabs/puppet/commit/343c7bd381b63e042d437111718918f951d9b30d>
- <https://github.com/puppetlabs/puppet/commit/d76c30935460ded953792dfe49f72b8c5158e899>
- <https://github.com/puppetlabs/puppet>
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/puppet/CVE-2011-3871.yml>

---

Data as of 2026-12-05T10:09:51.825Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
