{"id":"GHSA-vw22-465p-8j5w","summary":"Tarball permission preservation in 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.\n\nWhen 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.\n","aliases":["CVE-2017-10689"],"modified":"2024-02-20T05:38:03.533302Z","published":"2022-05-13T01:41:57Z","database_specific":{"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2022-07-21T22:29:32Z","nvd_published_at":"2018-02-09T20:29:00Z","cwe_ids":["CWE-269"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-10689"},{"type":"WEB","url":"https://github.com/puppetlabs/puppet/commit/17d9e02da3882e44c1876e2805cf9708481715ee"},{"type":"WEB","url":"https://github.com/puppetlabs/puppet/commit/2f1047f85e22cde139a421bc25d371f2ffc92cb1"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2927"},{"type":"PACKAGE","url":"https://github.com/puppetlabs/puppet"},{"type":"WEB","url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/puppet/CVE-2017-10689.yml"},{"type":"WEB","url":"https://puppet.com/security/cve/CVE-2017-10689"},{"type":"WEB","url":"https://tickets.puppetlabs.com/browse/PUP-7866"},{"type":"WEB","url":"https://usn.ubuntu.com/3567-1"}],"affected":[{"package":{"name":"puppet","ecosystem":"RubyGems","purl":"pkg:gem/puppet"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.10.10"}]}],"versions":["0.13.0","0.13.1","0.13.2","0.13.6","0.16.0","0.18.4","0.22.4","0.23.0","0.23.1","0.23.2","0.24.0","0.24.1","0.24.2","0.24.3","0.24.4","0.24.5","0.24.6","0.24.7","0.24.8","0.24.9","0.25.0","0.25.1","0.25.2","0.25.3","0.25.4","0.25.5","0.9.2","2.6.0","2.6.1","2.6.10","2.6.11","2.6.12","2.6.13","2.6.14","2.6.15","2.6.16","2.6.17","2.6.18","2.6.2","2.6.3","2.6.4","2.6.5","2.6.6","2.6.7","2.6.8","2.6.9","2.7.1","2.7.11","2.7.12","2.7.13","2.7.14","2.7.16","2.7.17","2.7.18","2.7.19","2.7.20","2.7.20.rc1","2.7.21","2.7.22","2.7.23","2.7.24","2.7.25","2.7.26","2.7.3","2.7.4","2.7.5","2.7.6","2.7.8","2.7.9","3.0.0","3.0.0.rc4","3.0.0.rc5","3.0.0.rc7","3.0.0.rc8","3.0.1","3.0.1.rc1","3.0.2","3.0.2.rc1","3.0.2.rc2","3.0.2.rc3","3.1.0","3.1.0.rc1","3.1.0.rc2","3.1.1","3.2.0.rc1","3.2.0.rc2","3.2.1","3.2.1.rc1","3.2.2","3.2.3","3.2.3.rc1","3.2.4","3.3.0","3.3.0.rc2","3.3.0.rc3","3.3.1","3.3.1.rc1","3.3.1.rc2","3.3.1.rc3","3.3.2","3.4.0","3.4.0.rc1","3.4.0.rc2","3.4.1","3.4.2","3.4.3","3.5.0.rc1","3.5.0.rc2","3.5.0.rc3","3.5.1","3.5.1.rc1","3.6.0","3.6.0.rc1","3.6.1","3.6.2","3.7.0","3.7.1","3.7.2","3.7.3","3.7.4","3.7.5","3.8.1","3.8.2","3.8.3","3.8.4","3.8.5","3.8.6","3.8.7","4.0.0","4.0.0.rc1","4.1.0","4.10.0","4.10.1","4.10.4","4.10.5","4.10.6","4.10.7","4.10.8","4.10.9","4.2.0","4.2.1","4.2.2","4.2.3","4.3.0","4.3.1","4.3.2","4.4.0","4.4.1","4.4.2","4.5.0","4.5.1","4.5.2","4.5.3","4.6.1","4.6.2","4.7.0","4.7.1","4.8.0","4.8.1","4.8.2","4.9.0","4.9.1","4.9.2","4.9.3","4.9.4"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-vw22-465p-8j5w/GHSA-vw22-465p-8j5w.json"}},{"package":{"name":"puppet","ecosystem":"RubyGems","purl":"pkg:gem/puppet"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.0.0"},{"fixed":"5.3.4"}]}],"versions":["5.0.0","5.0.1","5.1.0","5.2.0","5.3.1","5.3.2","5.3.3"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-vw22-465p-8j5w/GHSA-vw22-465p-8j5w.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"}]}