CVE-2012-3866 json
Puppet allows local users to obtain sensitive configuration information
published 2012-08-06 14 y ago modified 2026-06-16 4 mo ago also GHSA-8jxj-9r5f-w3m2 , EUVD-2017-0193
- cvss
- 2.1
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 41%
- public exploits
- 0
- none known
Summary
lib/puppet/defaults.rb in Puppet 2.7.x before 2.7.18, and Puppet Enterprise before 2.5.2, uses 0644 permissions for last_run_report.yaml, which allows local users to obtain sensitive configuration information by leveraging access to the puppet master server to read this file.
Patch / fix
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-2012-3866 updated cvss 1.0
puppet: information leak via world readable last_run_report.yaml
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
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.48% chance of exploitation in the next 30 days, higher than 41% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/puppetlabs/puppet/commit/fd44bf5e6d0d360f6a493d663b653c121fa83c3f referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 2.1 | AV:L/AC:L/Au:N/C:P/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | puppet | >=2.7.0, <2.7.18 |
2.7.18 |
Classification
- Weakness
-
- CWE-264 Permissions, Privileges, and Access Controls
References
-
github.com
/puppetlabs/puppet/commit/fd44bf5e6d0d360f6a493d663b653c121fa83c3f
web, exploit, patch
-
debian.org
/security/2012/dsa-2511
vendor-advisory, web
-
ubuntu.com
/usn/USN-1506-1
vendor-advisory, web
-
lists.opensuse.org
/opensuse-updates/2012-07/msg00036.html
vendor-advisory, web
-
puppetlabs.com
/security/cve/cve-2012-3866/
vendor-advisory
-
secunia.com
/advisories/50014
third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=839135
web
-
nvd.nist.gov
/vuln/detail/CVE-2012-3866
advisory
-
github.com
/puppetlabs/puppet
package
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/puppet/CVE-2012-3866.yml
web
-
puppet.com
/security/cve/cve-2012-3866-lastrunreportyaml-world-readable
web
-
puppetlabs.com
/security/cve/cve-2012-3866
web
Sources
- CVE List CVE-2012-3866
- GitHub Advisory GHSA-8jxj-9r5f-w3m2
- NVD CVE-2012-3866
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.