VDB
Sign up
HIGH

GHSA-f7p5-w2cr-7cp7

Puppet Improper Input Validation vulnerability

Quick fix

GHSA-f7p5-w2cr-7cp7 — puppet: upgrade to the fixed version with the command below.

bundle update puppet

Details

Puppet 2.7.x before 2.7.22 and 3.2.x before 3.2.2, and Puppet Enterprise before 2.8.2, deserializes untrusted YAML, which allows remote attackers to instantiate arbitrary Ruby classes and execute arbitrary code via a crafted REST API call.

Are you affected?

Enter the version of the package you're using.

Affected packages

RubyGems/puppet
Introduced in: 2.7.0Fixed in: 2.7.22
Fixbundle update puppet
RubyGems/puppet
Introduced in: 3.2.0Fixed in: 3.2.2
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"]}'