CVE-2012-1906: Low severity Puppet Puppet vulnerability

Published May 29, 2012
·
Updated

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.

Affected Software

42 affected componentsFixes available
rubygems/puppet>=2.7<2.7.13
2.7.13
rubygems/puppet>=2.6<2.6.15
2.6.15
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.6.11
Puppet Puppet=2.6.12
Puppet Puppet=2.6.13
Puppet Puppet=2.6.14
Puppet Puppet=2.7.2
Puppet Puppet=2.7.3
Puppet Puppet=2.7.4
Puppet Puppet=2.7.5
Puppet Puppet=2.7.6
Puppet Puppet=2.7.7
Puppet Puppet=2.7.8
Puppet Puppet=2.7.9
Puppet Puppet=2.7.10
Puppet Puppet=2.7.11
Puppet Puppet Enterprise=2.5.0
puppetlabs Puppet=2.7.0
puppetlabs Puppet=2.7.1
Puppet Puppet Enterprise=1.2.0
Puppet Puppet Enterprise=1.2.1
Puppet Puppet Enterprise=1.2.2
Puppet Puppet Enterprise=1.2.3
Puppet Puppet Enterprise=1.2.4
Puppet Puppet Enterprise=2.0.0
Puppet Puppet Enterprise=2.0.1
Puppet Puppet Enterprise=2.0.2
puppetlabs Puppet Enterprise Users=1.0
puppetlabs Puppet Enterprise Users=1.1
debian/puppet<2.7.13-1
2.7.13-1
debian/puppet
2.6.2-5+squeeze52.7.13-1

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.13
  2. Upgrade

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

    Fixed in 2.6.15
  3. Upgrade

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

    Fixed in 2.7.13-1
  4. Upgrade

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

    Fixed in 2.6.2-5+squeeze5Fixed in 2.7.13-1
  5. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.6.15
  6. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.7.13
  7. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.5.1

Event History

May 29, 2012
CVE Published
via MITRE·08:00 PM
Data Sourced
via MITRE·08:00 PM
Description
Data Sourced
08:55 PM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·08:55 PM
DescriptionAffected Software
May 14, 2022
Advisory Published
12:56 AM
Sep 18, 2023
Advisory Published
09:20 PM
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-2012-1906?

CVE-2012-1906 is classified as a moderate vulnerability due to the potential for local users to overwrite arbitrary files or install unwanted packages.

2

How do I fix CVE-2012-1906?

To mitigate CVE-2012-1906, upgrade Puppet to version 2.6.15 or later for 2.6.x installations, or to version 2.7.13 or later for 2.7.x installations.

3

Which versions of Puppet are affected by CVE-2012-1906?

Puppet versions 2.6.x before 2.6.15 and 2.7.x before 2.7.13, along with specific Puppet Enterprise user versions, are affected by CVE-2012-1906.

4

What type of attack is CVE-2012-1906 associated with?

CVE-2012-1906 allows local users to perform file overwriting and arbitrary package installation, which can lead to privilege escalation.

5

Is CVE-2012-1906 relevant for Mac OS X users?

Yes, CVE-2012-1906 particularly affects Mac OS X packages installed from remote sources, making it relevant for Mac OS X users using vulnerable Puppet versions.

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