RubySec

Providing security resources for the Ruby community

CVE-2017-10689 (puppet): Tarball permission preservation in puppet

ADVISORIES

GEM

puppet

SEVERITY

CVSS v3.x: 5.5 (Medium)

PATCHED VERSIONS

  • ~> 4.10.10
  • >= 5.3.4

DESCRIPTION

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.

RELATED