In puppet before versions 4.10.10 and 5.3.4, when unpacking tarballs with minitar in lib/puppet/module_tool/tar/mini.rb, files are unpacked with the same permissions as in the tarball allowing for files with unsafe permissions. Upstream Advisory: https://puppet.com/security/cve/CVE-2017-10689 Upstream Issue: https://tickets.puppetlabs.com/browse/PUP-7866 Upstream Commit: https://github.com/puppetlabs/puppet/commit/17d9e02da3882e44c1876e2805cf9708481715ee
Created puppet tracking bugs for this issue: Affects: fedora-all [bug 1542852]
Please note that Puppet 3.x has mini.rb with the exact same code as 4.x, so it appears to be vulnerable, additionally the patch at https://github.com/puppetlabs/puppet/commit/17d9e02da3882e44c1876e2805cf9708481715ee should fix it.
Statement: Red Hat Product Security has rated this issue as having security impact of Low. This issue affects the versions of puppet as shipped with: * Red Hat Satellite 6. A future update may address this issue. * Red Hat OpenStack Platform versions 6-12. Although the affected code is present in shipped packages, the affected code can only be exploited by deploying unsupported custom puppet modules. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.
This issue has been addressed in the following products: Red Hat Satellite 6.4 for RHEL 7 Via RHSA-2018:2927 https://access.redhat.com/errata/RHSA-2018:2927