CVE-2013-1640: 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…
Noroxi assessment
Priority: Monitor (action score 37/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 4.9% (FIRST EPSS); higher than 92.2% of all records.
- No special conditions are required; it is repeatable.
- Fixed version: puppet (Debian:11) 2.7.18-3; puppet (Debian:6.0) 2.6.2-5+squeeze7; puppet (Red Hat:openstack:2::el6) 0:2.6.18-1.el6ost.
Low priority for now. Upgrade to puppet (Debian:11) 2.7.18-3; puppet (Debian:6.0) 2.6.2-5+squeeze7; puppet (Red Hat:openstack:2::el6) 0:2.6.18-1.el6ost or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Mar 20, 2013
- Updated
- Jun 16, 2026
- EPSS
- 4.9% · 92th percentile
- CWE
- —
Report tools
Action score
37
Low priority for now.
- CVSS
- 36 / 40 · 9.0 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 4.9%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| puppet | puppet | cpe:2.3:a:puppet:puppet |
| puppet | puppet enterprise | cpe:2.3:a:puppet:puppet_enterprise |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- canonical ubuntu linux11.10
- canonical ubuntu linux12.04
- canonical ubuntu linux12.10
- puppet puppetbefore 2.6.18
- puppet puppet2.7.0 and later · before 2.7.21
- puppet puppet3.1.0
- puppet puppet enterprisebefore 1.2.7
- puppet puppet enterprise2.7.0
- puppet puppet enterprise2.7.1
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:11 | puppet | before 2.7.18-3 | 2.7.18-3 |
| Debian:6.0 | puppet | before 2.6.2-5+squeeze7 | 2.6.2-5+squeeze7 |
| Red Hat:openstack:2::el6 | puppet | before 0:2.6.18-1.el6ost | 0:2.6.18-1.el6ost |
| Red Hat:openstack:2::el6 | puppet-server | before 0:2.6.18-1.el6ost | 0:2.6.18-1.el6ost |
Same product
puppet: all recordsOther highest-scoring records for the same primary product.
- CVE-2016-2785Puppet Server before 2.3.2 and Ruby puppetmaster in Puppet 4.x before 4.4.2 and in Puppet Agent before 1.4.2 might allow remote attackers…40Plan
- CVE-2021-27021A flaw was discovered in Puppet DB, this flaw results in an escalation of privileges which allows the user to delete tables via an SQL…35Monitor
- CVE-2018-6513Puppet Enterprise 2016.4.x prior to 2016.4.12, Puppet Enterprise 2017.3.x prior to 2017.3.7, Puppet Enterprise 2018.1.x prior to 2018.1.1…35Monitor
Published before and after this one in the same product
- ← EarlierCVE-2012-3866Aug 6, 2012 · lib/puppet/defaults.rb in Puppet 2.7.x before 2.7.18, and Puppet Enterprise before 2.5.2, uses 0644 permissions for last_run_report.yaml…8Monitor
- ← EarlierCVE-2012-3867Aug 6, 2012 · lib/puppet/ssl/certificate_authority.rb in Puppet before 2.6.17 and 2.7.x before 2.7.18, and Puppet Enterprise before 2.5.2, does not…18Monitor
- Later →CVE-2013-1652Mar 20, 2013 · 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…20Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:puppet | 2.7.18-3 · Debian:11 | Package registry (OSV) |
| red hat:puppet | 0:2.6.18-1.el6ost · Red Hat:openstack:2::el6 | Package registry (OSV) |
| red hat:puppet-server | 0:2.6.18-1.el6ost · Red Hat:openstack:2::el6 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- C · data can be read
- Integrity
- C · data or configuration can be modified
- Availability
- C · the service can be disrupted
- Attack complexity
- Low
- Confidentiality impact
- C
- Integrity impact
- C
- Availability impact
- C
Weakness class (CWE)
—
CVSS vector
AV:N/AC:L/Au:S/C:C/I:C/A:C
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (6 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.