Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 919783 (CVE-2013-1640)

Summary: CVE-2013-1640 Puppet: catalog request code execution
Product: [Other] Security Response Reporter: Kurt Seifried <kseifried>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: apevec, bkearney, ccoleman, cpelland, dajohnso, dmcphers, jeckersb, jialiu, jlieskov, jomara, jrusnack, lmeyer, markmc, mmccune, morazi, msuchy, rbryant, rh, sclewis, security-response-team, tkramer
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: puppet 2.6.18, puppet 2.7.21, puppet 3.1.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-11 07:00:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 920843, 920845, 924458, 995663    
Bug Blocks:    
Attachments:
Description Flags
puppet-3.1.0-CVE-Rollup.patch
none
puppet-2.7.20-CVE-Rollup.patch
none
puppet-2.7.18-CVE-Rollup.patch
none
puppet-2.7.11-CVE-Rollup.patch
none
puppet-2.6.17-CVE-Rollup.patch none

Description Kurt Seifried 2013-03-10 05:04:45 UTC
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
`inline_template` functions during catalog compilation for this to be
exploited.


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

Comment 3 Vincent Danen 2013-03-12 21:36:13 UTC
Created puppet tracking bugs for this issue

Affects: epel-all [bug 920843]

Comment 4 Vincent Danen 2013-03-12 21:40:06 UTC
Created puppet tracking bugs for this issue

Affects: fedora-all [bug 920845]

Comment 5 Kurt Seifried 2013-03-15 04:52:22 UTC
Created attachment 710424 [details]
puppet-3.1.0-CVE-Rollup.patch

Comment 6 Kurt Seifried 2013-03-15 04:53:54 UTC
Created attachment 710425 [details]
puppet-2.7.20-CVE-Rollup.patch

Comment 7 Kurt Seifried 2013-03-15 04:54:24 UTC
Created attachment 710426 [details]
puppet-2.7.18-CVE-Rollup.patch

Comment 8 Kurt Seifried 2013-03-15 04:55:22 UTC
Created attachment 710427 [details]
puppet-2.7.11-CVE-Rollup.patch

Comment 9 Kurt Seifried 2013-03-15 04:56:17 UTC
Created attachment 710428 [details]
puppet-2.6.17-CVE-Rollup.patch

Comment 11 Murray McAllister 2013-03-27 07:25:23 UTC
Acknowledgements:

Red Hat would like to thank Puppet Labs for reporting this issue.

Comment 12 errata-xmlrpc 2013-04-04 20:20:29 UTC
This issue has been addressed in following products:

  OpenStack Folsom for RHEL 6

Via RHSA-2013:0710 https://rhn.redhat.com/errata/RHSA-2013-0710.html

Comment 13 Fedora Update System 2013-04-05 22:36:39 UTC
puppet-2.6.18-2.el5 has been pushed to the Fedora EPEL 5 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 14 Fedora Update System 2013-04-05 22:37:49 UTC
puppet-2.6.18-2.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 15 Kurt Seifried 2013-07-26 06:19:33 UTC
Removed due to typo.

Comment 16 Fedora Update System 2013-08-02 03:24:28 UTC
puppet-3.1.1-1.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.