Advisory

GHSA-vw22-465p-8j5w

Also known as: CVE-2017-10689

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-13 01:41 UTC
Modified
2024-02-20 05:32 UTC

Affected packages and fixes

puppet

RubyGems · All systems

Affected

  • introduced 0, fixed 4.10.10 (ecosystem)

Fixed versions

4.10.10

Fix

The export has no generic command for this ecosystem.

puppet

RubyGems · All systems

Affected

  • introduced 5.0.0, fixed 5.3.4 (ecosystem)

Fixed versions

5.3.4

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences