LOW
GHSA-8jxj-9r5f-w3m2
Puppet allows local users to obtain sensitive configuration information
Quick fix
GHSA-8jxj-9r5f-w3m2 — puppet: upgrade to the fixed version with the command below.
bundle update puppetDetails
`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.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2012-3866[ADVISORY]
- https://github.com/puppetlabs/puppet/commit/fd44bf5e6d0d360f6a493d663b653c121fa83c3f[WEB]
- https://bugzilla.redhat.com/show_bug.cgi?id=839135[WEB]
- https://github.com/puppetlabs/puppet[PACKAGE]
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/puppet/CVE-2012-3866.yml[WEB]
- https://www.puppet.com/security/cve/cve-2012-3866-lastrunreportyaml-world-readable[WEB]
- http://lists.opensuse.org/opensuse-updates/2012-07/msg00036.html[WEB]
- http://puppetlabs.com/security/cve/cve-2012-3866[WEB]
- http://www.debian.org/security/2012/dsa-2511[WEB]
- http://www.ubuntu.com/usn/USN-1506-1[WEB]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:gem/puppet"]}'