VDB
Sign up
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 puppet

Details

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

RubyGems/puppet
Introduced in: 0Fixed in: 2.6.17
Fixbundle update puppet
RubyGems/puppet
Introduced in: 2.7.0Fixed in: 2.7.18
Fixbundle update puppet

References

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"]}'