Description
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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 11 | puppet | 2.7.18-1 | — |
| Debian 6.0 | puppet | 2.6.2-5+squeeze6 | DSA-2511-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| RubyGems | puppet | >= 2.7.0, < 2.7.18 | 2.7.18 | GHSA-8jxj-9r5f-w3m2 |
Advisories 1
- DSA-2511-1 puppet - several Debian Security (DSA / DLA) · Mar 9, 2026
References
- https://github.com/puppetlabs/puppet/commit/fd44bf5e6d0d360f6a493d663b653c121fa83c3f
- DSA-2511 vendor-advisory
- USN-1506-1 vendor-advisory
- 50014 third-party-advisory
- openSUSE-SU-2012:0891 vendor-advisory
- http://puppetlabs.com/security/cve/cve-2012-3866/
- https://bugzilla.redhat.com/show_bug.cgi?id=839135