VDB
Sign up
MEDIUM

GHSA-c4mc-49hq-q275

Puppet uses predictable filenames, allowing arbitrary file overwrite

Quick fix

GHSA-c4mc-49hq-q275 — puppet: upgrade to the fixed version with the command below.

bundle update puppet

Details

Puppet 2.6.x before 2.6.15 and 2.7.x before 2.7.13, and Puppet Enterprise (PE) Users 1.0, 1.1, 1.2.x, 2.0.x, and 2.5.x before 2.5.1 uses predictable file names when installing Mac OS X packages from a remote source, which allows local users to overwrite arbitrary files or install arbitrary packages via a symlink attack on a temporary file in /tmp.

Are you affected?

Enter the version of the package you're using.

Affected packages

RubyGems/puppet
Introduced in: 2.6Fixed in: 2.6.15
Fixbundle update puppet
RubyGems/puppet
Introduced in: 2.7Fixed in: 2.7.13
Fixbundle update puppet

References