VDB
Sign up
MEDIUM5.5

GHSA-vw22-465p-8j5w

Tarball permission preservation in puppet

Quick fix

GHSA-vw22-465p-8j5w — puppet: upgrade to the fixed version with the command below.

bundle update puppet

Details

When installing a module using the system tar, the PMT will filter filesystem permissions to a sane value. This may just be based on the user's umask.

When using minitar, files are unpacked with whatever permissions are in the tarball. This is potentially unsafe, as tarballs can be easily created with weird permissions.

Are you affected?

Enter the version of the package you're using.

Affected packages

RubyGems/puppet
Introduced in: 0Fixed in: 4.10.10
Fixbundle update puppet
RubyGems/puppet
Introduced in: 5.0.0Fixed in: 5.3.4
Fixbundle update puppet

References