Skip to main content

CVE-2017-10689 — Tarball permission preservation in puppet

MEDIUM

Tarball permission preservation in puppet

Published May 13, 2022Updated February 20, 2024Source: OSV

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.

Check my Gemfile.lock

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.

Bundler
Update puppet to 4.10.10 or later
gem install puppet -v 4.10.10
Bundler
Update puppet to 5.3.4 or later
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).

PackageFixed In
puppet RubyGems · Affected: 0.13.0, 0.13.1, 0.13.2, 0.13.6 (+161 more)4.10.10
puppet RubyGems · Affected: 5.0.0, 5.0.1, 5.1.0, 5.2.0 (+3 more)5.3.4

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-269
    Improper Privilege ManagementMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 5.5 score means for each attack dimension.

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

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

CVSS Score
5.5

Exploitation requires specific conditions, or the impact is limited.

EPSS Score (30-day exploit probability)
0.36%
EPSS percentile: 21.7

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

GHSA-vw22-465p-8j5w

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my Gemfile.lock