CVE-2011-3871: Medium severity puppetlabs Puppet vulnerability

Published Oct 27, 2011
·
Updated

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.

Other sources

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.

— NVD

Affected Software

27 affected componentsFixes available
rubygems/puppet>=2.7.0<2.7.5
2.7.5
rubygems/puppet<2.6.11
2.6.11
puppetlabs Puppet=2.7.0
puppetlabs Puppet=2.7.1
Puppet Puppet=2.6.0
Puppet Puppet=2.6.1
Puppet Puppet=2.6.2
Puppet Puppet=2.6.3
Puppet Puppet=2.6.4
Puppet Puppet=2.6.5
Puppet Puppet=2.6.6
Puppet Puppet=2.6.7
Puppet Puppet=2.6.8
Puppet Puppet=2.6.9
Puppet Puppet=2.6.10
Puppet Puppet=2.7.2
Puppet Puppet=2.7.3
Puppet Puppet=2.7.4
Puppet Puppet=0.25.1
Puppet Puppet=0.25.0
Puppet Puppet=0.25.2
Puppet Puppet=0.25.3
Puppet Puppet=0.25.4
Puppet Puppet=0.25.5
Puppet Puppet=0.25.6
debian/puppet<2.7.3-3
2.7.3-3
debian/puppet
2.6.2-5+squeeze12.7.3-3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade rubygems/puppet to a version that resolves this vulnerability.

    Fixed in 2.7.5
  2. Upgrade

    Upgrade rubygems/puppet to a version that resolves this vulnerability.

    Fixed in 2.6.11
  3. Upgrade

    Upgrade debian/puppet to a version that resolves this vulnerability.

    Fixed in 2.7.3-3
  4. Upgrade

    Upgrade debian/puppet to a version that resolves this vulnerability.

    Fixed in 2.6.2-5+squeeze1Fixed in 2.7.3-3

Event History

Oct 27, 2011
CVE Published
via MITRE·08:00 PM
Data Sourced
via MITRE·08:00 PM
Description
Data Sourced
08:55 PM
DescriptionWeaknessAffected Software
Data Sourced
via NVD·08:55 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·08:55 PM
DescriptionAffected Software
Jul 10, 2019
Data Sourced
02:13 PM
RemedySeverity
May 14, 2022
Advisory Published
via GitHub·12:56 AM
Data Sourced
via GitHub·12:56 AM
DescriptionWeaknessAffected Software
Jan 16, 2024
Advisory Published
via GitHub·09:26 PM
Jan 19, 2024
Updated
via GitHub·07:51 PM
Affected Software
Nov 24, 2026
Withdrawn
via OSV·04:27 AM

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2011-3871?

CVE-2011-3871 is considered a high-severity vulnerability due to its potential for local privilege escalation.

2

How do I fix CVE-2011-3871?

To fix CVE-2011-3871, upgrade Puppet to version 2.7.5, 2.6.11, or any version more recent than 0.25.6.

3

Which versions of Puppet are affected by CVE-2011-3871?

CVE-2011-3871 affects Puppet versions 2.7.x before 2.7.5, 2.6.x before 2.6.11, and all versions of 0.25.x.

4

What are the risks associated with CVE-2011-3871?

The risks associated with CVE-2011-3871 include the possibility of local users executing arbitrary Puppet code or modifying files unexpectedly.

5

Can I still use Puppet if I have CVE-2011-3871?

While you can use Puppet with CVE-2011-3871, it is strongly advised to update to a secure version to avoid exploitation of this vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203