CVE-2017-10689 — Tarball permission preservation in puppet
Tarball permission preservation in puppet
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.36%). Schedule for your next planned update.
Does your project use an affected puppet version?
Paste your Gemfile.lock to check it for CVE-2017-10689 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
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.
Advisory Timeline
- First published May 13, 2022 (1659 days ago).
- Last revised February 20, 2024 — 648 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
gem install puppet -v 4.10.10
gem install puppet -v 5.3.4
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: RubyGems (1).
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-269Improper Privilege ManagementMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 5.5 score means for each attack dimension.
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
References
- https://nvd.nist.gov/vuln/detail/CVE-2017-10689ADVISORY
- https://github.com/puppetlabs/puppet/commit/17d9e02da3882e44c1876e2805cf9708481715eeWEB
- https://github.com/puppetlabs/puppet/commit/2f1047f85e22cde139a421bc25d371f2ffc92cb1WEB
- https://access.redhat.com/errata/RHSA-2018:2927WEB
- https://github.com/puppetlabs/puppetPACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/puppet/CVE-2017-10689.ymlWEB
- https://puppet.com/security/cve/CVE-2017-10689WEB
- https://tickets.puppetlabs.com/browse/PUP-7866WEB
- https://usn.ubuntu.com/3567-1WEB
Frequently Asked Questions
- What is CVE-2017-10689?
- Tarball permission preservation in puppet. This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 5.5/10).
- How do I check if my project is affected by CVE-2017-10689?
- CVE-2017-10689 affects puppet. It has a 0.4% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2017-10689 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation requires specific conditions, or the impact is limited.
This is a below-median EPSS score — only 21.7% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2016-2785CRITICAL
Puppet Improper Access Control
- CVE-2026-128084MEDIUM
sqlite3-ruby: Possible SQL query truncation when a string is 4 GiB or larger
- CVE-2021-27023MEDIUM
Unsafe HTTP Redirect in Puppet Agent and Puppet Server
- CVE-2020-7942MEDIUM
Improper Certificate Validation in Puppet
- CVE-2026-115472MEDIUM
Doorkeeper: When using public clients, any client can revoke any access token
- CVE-2021-27025MEDIUM
Silent Configuration Failure in Puppet Agent