Skip to content
OpenAdvisories
Medium CVE-2012-1906 EUVD-2022-3504GHSA-c4mc-49hq-q275

Puppet uses predictable filenames, allowing arbitrary file overwrite

Published May 29, 2012 · Updated Aug 6, 2024 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 11 puppet 2.7.13-1 —
Debian 6.0 puppet 2.6.2-5+squeeze5 DSA-2451-1

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems puppet >= 2.6, < 2.6.15 2.6.15 GHSA-c4mc-49hq-q275
RubyGems puppet >= 2.7, < 2.7.13 2.7.13 GHSA-c4mc-49hq-q275

Advisories 1

References