CVE-2013-1640: Critical severity Puppet Puppet vulnerability

Published Mar 10, 2013
·
Updated

Moses Mendoza (moses) reports:

CVE-2013-1640 - Remote code execution on master from authenticated clients Affected versions: 0.24.7 and greater Resolved in Puppet 2.6.18, 2.7.21, 3.1.1, Puppet Enterprise 1.2.7, 2.7.2

A bug in Puppet allows an authenticated client to request its catalog from the puppet master, and cause the puppet master to execute arbitrary code. The puppet master must invoke with the template or inlinetemplate functions during catalog compilation for this to be exploited.

External References: https://puppetlabs.com/security/cve/cve-2013-1640/

Other sources

The (1) template and (2) inlinetemplate functions in the master server in Puppet before 2.6.18, 2.7.x before 2.7.21, and 3.1.x before 3.1.1, and Puppet Enterprise before 1.2.7 and 2.7.x before 2.7.2 allows remote authenticated users to execute arbitrary code via a crafted catalog request.

— MITRE

Affected Software

14 affected componentsFixes available
Puppet Puppet<2.6.18
Puppet Puppet>=2.7.0<2.7.21
Puppet Puppet=3.1.0
Puppet Puppet Enterprise<1.2.7
Puppet Puppet Enterprise=2.7.0
Puppet Puppet Enterprise=2.7.1
Canonical Ubuntu Linux=11.10
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=12.10
debian/puppet<2.7.18-3
2.7.18-3
debian/puppet
2.6.2-5+squeeze72.7.18-3
redhat/puppet<2.6.18
2.6.18
redhat/puppet<2.7.21
2.7.21
redhat/puppet<3.1.1
3.1.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 2.7.18-3
  2. Upgrade

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

    Fixed in 2.6.2-5+squeeze7Fixed in 2.7.18-3
  3. Upgrade

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

    Fixed in 2.6.18
  4. Upgrade

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

    Fixed in 2.7.21
  5. Upgrade

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

    Fixed in 3.1.1
  6. Upgrade

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

    Fixed in 2.6.18
  7. Upgrade

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

    Fixed in 2.7.21
  8. Upgrade

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

    Fixed in 3.1.1
  9. Upgrade

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

    Fixed in 1.2.7
  10. Upgrade

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

    Fixed in 2.7.2

Event History

Mar 10, 2013
Data Sourced
via Red Hat·05:04 AM
DescriptionSeverityAffected Software
Mar 20, 2013
CVE Published
via MITRE·04:00 PM
Data Sourced
via MITRE·04:00 PM
Description
Data Sourced
04:55 PM
DescriptionSeverityAffected Software
Data Sourced
via OSV·04:55 PM
DescriptionAffected Software
Nov 24, 2026
Withdrawn
via OSV·04:28 AM

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2013-1640?

CVE-2013-1640 is considered critical due to its potential for remote code execution by authenticated users.

2

How do I fix CVE-2013-1640?

To fix CVE-2013-1640, upgrade Puppet to versions beyond 2.6.18, 2.7.21, 3.1.1, or Puppet Enterprise to versions beyond 1.2.7 or 2.7.2.

3

Who is affected by CVE-2013-1640?

CVE-2013-1640 affects users of Puppet versions prior to 2.6.18, 2.7.x before 2.7.21, and 3.1.x before 3.1.1, as well as Puppet Enterprise before 1.2.7 and 2.7.x before 2.7.2.

4

What type of vulnerability is CVE-2013-1640?

CVE-2013-1640 is a remote code execution vulnerability that allows authenticated users to execute arbitrary code.

5

When was CVE-2013-1640 disclosed?

CVE-2013-1640 was disclosed in April 2013.

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