Skip to content
OpenAdvisories
Medium CVE-2011-3871 EUVD-2022-4604GHSA-mpmx-gm5v-q789

Puppet uses predictable filenames, allowing arbitrary file overwrite

Published Oct 27, 2011 · Updated Aug 6, 2024 · Assigned by mitre

Description

Puppet 2.7.x before 2.7.5, 2.6.x before 2.6.11, and 0.25.x, when running in --edit mode, uses a predictable file name, which allows local users to run arbitrary Puppet code or trick a user into editing arbitrary files.

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.3-3 —
Debian 6.0 puppet 2.6.2-5+squeeze1 DSA-2314-1

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems puppet >= 2.7.0, < 2.7.5 2.7.5 GHSA-mpmx-gm5v-q789
RubyGems puppet < 2.6.11 2.6.11 GHSA-mpmx-gm5v-q789

Advisories 1

References