Description
The (1) template and (2) inline_template 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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 11 | puppet | 2.7.18-3 | — |
| Debian 6.0 | puppet | 2.6.2-5+squeeze7 | DSA-2643-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat OpenStack 2 | puppet +1 | 2.6.18-1.el6ost | RHSA-2013:0710 |
Advisories 2
- DSA-2643-1 puppet - several issues Debian Security (DSA / DLA) · Mar 9, 2026
- RHSA-2013:0710 Red Hat Security Advisory: puppet security update Red Hat Security Advisories (RHSA) · Jan 29, 2026
References
- SUSE-SU-2013:0618 vendor-advisory
- RHSA-2013:0710 vendor-advisory
- DSA-2643 vendor-advisory
- 52596 third-party-advisory
- USN-1759-1 vendor-advisory
- openSUSE-SU-2013:0641 vendor-advisory
- https://puppetlabs.com/security/cve/cve-2013-1640/