CVE-2012-1988: Command Injection

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 allows remote authenticated users with agent SSL keys and file-creation permissions on the puppet master to execute arbitrary commands by creating a file whose full pathname contains shell metacharacters, then performing a filebucket request.

Affected Software

55 affected componentsFixes available
rubygems/puppet>=2.7.0<2.7.13
2.7.13
rubygems/puppet>=2.6.0<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
Puppet Puppet>=2.6.0<2.6.15
Puppet Puppet>=2.7.0<2.7.13
Puppet Puppet Enterprise>=1.2.0<2.5.1
Puppet Puppet Enterprise=1.0
Puppet Puppet Enterprise=1.1
Fedoraproject Fedora=15
Fedoraproject Fedora=16
Fedoraproject Fedora=17
Debian Debian Linux=6.0
Debian Debian Linux=7.0
Canonical Ubuntu Linux=10.04
Canonical Ubuntu Linux=11.04
Canonical Ubuntu Linux=11.10
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

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
via GitHub·12:56 AM
Data Sourced
via GitHub·12:56 AM
DescriptionWeaknessAffected Software
Jan 15, 2024
Advisory Published
via GitHub·04:42 PM
Feb 2, 2024
Updated
via NVD·03:14 PM
WeaknessAffected Software
Feb 6, 2024
Updated
via GitHub·04:04 PM
Weakness
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-1988?

CVE-2012-1988 is rated as a critical vulnerability allowing remote authenticated users to execute arbitrary commands.

2

How do I fix CVE-2012-1988?

To fix CVE-2012-1988, update Puppet to versions 2.6.15, 2.7.13, or later.

3

What systems are affected by CVE-2012-1988?

CVE-2012-1988 affects Puppet versions 2.6.x prior to 2.6.15 and 2.7.x prior to 2.7.13, as well as Puppet Enterprise users versions 1.0, 1.1, 1.2.x, 2.0.x, and 2.5.x before 2.5.1.

4

Who can exploit CVE-2012-1988?

Remote authenticated users with agent SSL keys and file-creation permissions on the puppet master can exploit CVE-2012-1988.

5

What type of vulnerability is CVE-2012-1988?

CVE-2012-1988 is categorized as a command injection 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