LOW
GHSA-g89m-3wjw-h857
Puppet vulnerable to Path Traversal
Quick fix
GHSA-g89m-3wjw-h857 — puppet: upgrade to the fixed version with the command below.
bundle update puppetDetails
Directory traversal vulnerability in `lib/puppet/reports/store.rb` in Puppet before 2.6.17 and 2.7.x before 2.7.18, and Puppet Enterprise before 2.5.2, when Delete is enabled in auth.conf, allows remote authenticated users to delete arbitrary files on the puppet master server via a `..` (dot dot) in a node name.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2012-3865[ADVISORY]
- https://github.com/puppetlabs/puppet/commit/554eefc55f57ed2b76e5ee04d8f194d36f6ee67f[WEB]
- https://github.com/puppetlabs/puppet/commit/d80478208d79a3e6d6cb1fbc525e24817fe8c4c6[WEB]
- https://bugzilla.redhat.com/show_bug.cgi?id=839131[WEB]
- https://github.com/puppetlabs/puppet[PACKAGE]
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/CVE-2012-3865.yml[WEB]
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/puppet/CVE-2012-3865.yml[WEB]
- https://www.puppet.com/security/cve/overview-cve-2012-3865-arbitrary-file-delete/dos-puppet-master[WEB]
- http://lists.opensuse.org/opensuse-security-announce/2012-08/msg00006.html[WEB]
- http://lists.opensuse.org/opensuse-updates/2012-07/msg00036.html[WEB]
- http://puppetlabs.com/security/cve/cve-2012-3865[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"]}'