CVE-2013-1640: Critical severity Puppet Puppet vulnerability
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
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/puppetto a version that resolves this vulnerability.Fixed in 2.7.18-3 - Upgrade
Upgrade
debian/puppetto a version that resolves this vulnerability.Fixed in 2.6.2-5+squeeze7Fixed in 2.7.18-3 - Upgrade
Upgrade
redhat/puppetto a version that resolves this vulnerability.Fixed in 2.6.18 - Upgrade
Upgrade
redhat/puppetto a version that resolves this vulnerability.Fixed in 2.7.21 - Upgrade
Upgrade
redhat/puppetto a version that resolves this vulnerability.Fixed in 3.1.1 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 2.6.18 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 2.7.21 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 3.1.1 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 1.2.7 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 2.7.2
Event History
Frequently Asked Questions
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.
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.
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.
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.
When was CVE-2013-1640 disclosed?
CVE-2013-1640 was disclosed in April 2013.