Loading...
Skip to main content

CVE-2017-10689 — Tarball permission preservation in puppet — CVE...

MEDIUM

Tarball permission preservation in puppet

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

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 (1613 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, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (2)

Affects 1 ecosystem: rubygems (1).

PackageEcosystemAffectedFixed In
puppet
rubygems
0.13.0, 0.13.1, 0.13.2, 0.13.6 (+161 more)4.10.10
puppet
rubygems
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. 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 has limited impact. Remediate within weeks.

Also Known As

GHSA-vw22-465p-8j5w

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies