GHSA-vw22-465p-8j5w
Vulnerability from github
Published
2022-05-13 01:41
Modified
2022-07-21 22:29
Severity
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.
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": [ { "package": { "ecosystem": "RubyGems", "name": "puppet" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "4.10.10" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "RubyGems", "name": "puppet" }, "ranges": [ { "events": [ { "introduced": "5.0.0" }, { "fixed": "5.3.4" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2017-10689" ], "database_specific": { "cwe_ids": [ "CWE-269" ], "github_reviewed": true, "github_reviewed_at": "2022-07-21T22:29:32Z", "nvd_published_at": "2018-02-09T20:29:00Z", "severity": "MODERATE" }, "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\u0027s 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", "id": "GHSA-vw22-465p-8j5w", "modified": "2022-07-21T22:29:32Z", "published": "2022-05-13T01:41:57Z", "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" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N", "type": "CVSS_V3" } ], "summary": "Tarball permission preservation in puppet" }
Loading...