ADVISORIES

GitHub Advisory Database

GHSA-vw22-465p-8j5w

Tarball permission preservation in puppet

Moderate CVE-2017-10689

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.

Affected packages

EcosystemPackageAffected versions
RubyGemspuppet
All versions before 4.10.10 (fixed in 4.10.10)
RubyGemspuppet
From 5.0.0 before 5.3.4 (fixed in 5.3.4)

References