{"id":"CVE-2012-1988","aliases":["DEBIAN-CVE-2012-1988","DSA-2451-1","EUVD-2022-2885","GHSA-6xxq-j39w-g3f6"],"status":"published","title":"Puppet Arbitrary Command Execution","description":"Puppet 2.6.x before 2.6.15 and 2.7.x before 2.7.13, and Puppet Enterprise (PE) Users 1.0, 1.1, 1.2.x, 2.0.x, and 2.5.x before 2.5.1 allows remote authenticated users with agent SSL keys and file-creation permissions on the puppet master to execute arbitrary commands by creating a file whose full pathname contains shell metacharacters, then performing a filebucket request.","severity":{"version":"2.0","score":6,"vector":"AV:N/AC:M/Au:S/C:P/I:P/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.02602,"percentile":0.85473,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-77","CWE-78"],"published":"2012-04-13T00:00:00Z","modified":"2026-08-19T06:47:34Z","fixes":[{"ecosystem":"RubyGems","package":"puppet","fixed_in":["2.6.15","2.7.13"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:11","package":"puppet","fixed_in":["2.7.13-1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"RubyGems","package":"puppet","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.0"},{"fixed":"2.6.15"}]}]},{"source":"ghsa","ecosystem":"RubyGems","package":"puppet","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.7.0"},{"fixed":"2.7.13"}]}]},{"source":"osv","ecosystem":"Debian:11","package":"puppet","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.13-1"}]}]},{"source":"osv","ecosystem":"Debian:6.0","package":"puppet","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.2-5+squeeze5"}]}],"versions":["2.6.2-4","2.6.2-5","2.6.2-5+squeeze1","2.6.2-5+squeeze3","2.6.2-5+squeeze4"],"bundled":4},{"source":"osv","ecosystem":"RubyGems","package":"puppet","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.0"},{"fixed":"2.6.15"}]}],"versions":["2.6.0","2.6.1","2.6.10","2.6.11","2.6.12","2.6.13","2.6.14","2.6.2","2.6.3","2.6.4","2.6.5","2.6.6","2.6.7","2.6.8","2.6.9"]},{"source":"osv","ecosystem":"RubyGems","package":"puppet","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.7.0"},{"fixed":"2.7.13"}]}],"versions":["2.7.1","2.7.11","2.7.12","2.7.3","2.7.4","2.7.5","2.7.6","2.7.8","2.7.9"]}],"products":[{"vendor":"canonical","product":"ubuntu_linux"},{"vendor":"debian","product":"debian_linux"},{"vendor":"fedoraproject","product":"fedora"},{"vendor":"puppet","product":"puppet"},{"vendor":"puppet","product":"puppet_enterprise"}],"references":[{"url":"http://www.osvdb.org/81309","tags":["vdb-entry","x_refsource_OSVDB","x_transferred","Broken Link","web"]},{"url":"http://ubuntu.com/usn/usn-1419-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","Third Party Advisory","advisory","web"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-April/079227.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","Mailing List","Third Party Advisory","advisory","article","web"]},{"url":"http://puppetlabs.com/security/cve/cve-2012-1988/","tags":["x_refsource_CONFIRM","x_transferred","Broken Link","Vendor Advisory","advisory","web"]},{"url":"http://projects.puppetlabs.com/issues/13518","tags":["x_refsource_MISC","x_transferred","Broken Link","Vendor Advisory","advisory","web"]},{"url":"https://hermes.opensuse.org/messages/14523305","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","Broken Link","web"]},{"url":"http://secunia.com/advisories/48743","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Broken Link","Vendor Advisory","advisory"]},{"url":"http://projects.puppetlabs.com/projects/1/wiki/Release_Notes#2.6.15","tags":["x_refsource_CONFIRM","x_transferred","Broken Link","web"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/74796","tags":["vdb-entry","x_refsource_XF","x_transferred","Third Party Advisory","VDB Entry","advisory","web"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-April/079289.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","Mailing List","Third Party Advisory","advisory","article","web"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080003.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","Mailing List","Third Party Advisory","advisory","article","web"]},{"url":"http://secunia.com/advisories/49136","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Broken Link","Vendor Advisory","advisory"]},{"url":"http://www.securityfocus.com/bid/52975","tags":["vdb-entry","x_refsource_BID","x_transferred","Broken Link","Third Party Advisory","VDB Entry","advisory","web"]},{"url":"http://secunia.com/advisories/48748","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Broken Link","Vendor Advisory","advisory"]},{"url":"http://www.debian.org/security/2012/dsa-2451","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://hermes.opensuse.org/messages/15087408","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","Broken Link","web"]},{"url":"http://secunia.com/advisories/48789","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Broken Link","Vendor Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-1988","tags":["advisory"]},{"url":"https://github.com/puppetlabs/puppet/commit/0d6d29933e613fe177e9235415919a5428db67bc","tags":["web"]},{"url":"https://github.com/puppetlabs/puppet/commit/568ded50ec6cc498ad32ff7f086d9f73b5d24c14","tags":["web"]},{"url":"https://web.archive.org/web/20120415105345/http://www.securityfocus.com/bid/52975","tags":["web"]},{"url":"https://web.archive.org/web/20120513213112/http://projects.puppetlabs.com/issues/13518","tags":["web"]},{"url":"https://web.archive.org/web/20120816020421/http://projects.puppetlabs.com/projects/1/wiki/Release_Notes#2.6.15","tags":["web"]},{"url":"https://web.archive.org/web/20121013181707/http://puppetlabs.com/security/cve/cve-2012-1988/"},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/puppet/CVE-2012-1988.yml","tags":["web"]},{"url":"https://web.archive.org/web/20121025112409/http://secunia.com/advisories/48789","tags":["web"]},{"url":"https://web.archive.org/web/20121025113446/http://secunia.com/advisories/48748","tags":["web"]},{"url":"https://web.archive.org/web/20121025194830/http://secunia.com/advisories/49136","tags":["web"]},{"url":"https://web.archive.org/web/20121025194938/http://secunia.com/advisories/48743","tags":["web"]},{"url":"https://web.archive.org/web/20121031092646/http://www.securityfocus.com/bid/52975","tags":["web"]},{"url":"https://github.com/advisories/GHSA-6xxq-j39w-g3f6"},{"url":"https://security-tracker.debian.org/tracker/CVE-2012-1988","tags":["advisory"]},{"url":"https://web.archive.org/web/20121013181707/http://puppetlabs.com/security/cve/cve-2012-1988","tags":["web"]},{"url":"https://github.com/puppetlabs/puppet","tags":["package"]},{"url":"http://puppetlabs.com/security/cve/cve-2012-1988","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2012-1988","description":"Puppet 2.6.x before 2.6.15 and 2.7.x before 2.7.13, and Puppet Enterprise (PE) Users 1.0, 1.1, 1.2.x, 2.0.x, and 2.5.x before 2.5.1 allows remote authenticated users with agent SSL keys and file-creation permissions on the puppet master to execute arbitrary commands by creating a file whose full pathname contains shell metacharacters, then performing a filebucket request.","status":"published","published":"2012-05-29T20:00:00Z","modified":"2024-08-06T19:17:27.716Z","updated_at":"2026-11-02T14:34:51.937988Z"}],"euvd":[{"id":"EUVD-2022-2885","description":"Puppet 2.6.x before 2.6.15 and 2.7.x before 2.7.13, and Puppet Enterprise (PE) Users 1.0, 1.1, 1.2.x, 2.0.x, and 2.5.x before 2.5.1 allows remote authenticated users with agent SSL keys and file-creation permissions on the puppet master to execute arbitrary commands by creating a file whose full pathname contains shell metacharacters, then performing a filebucket request.","status":"published","published":"2012-05-29T20:00:00Z","modified":"2024-08-06T19:17:27Z","updated_at":"2026-11-03T01:56:15.412642Z"}],"ghsa":[{"id":"GHSA-6xxq-j39w-g3f6","title":"Puppet Arbitrary Command Execution","description":"Puppet 2.6.x before 2.6.15 and 2.7.x before 2.7.13, and Puppet Enterprise (PE) Users 1.0, 1.1, 1.2.x, 2.0.x, and 2.5.x before 2.5.1 allows remote authenticated users with agent SSL keys and file-creation permissions on the puppet master to execute arbitrary commands by creating a file whose full pathname contains shell metacharacters, then performing a filebucket request.","status":"published","published":"2022-05-14T00:56:45Z","modified":"2024-02-06T16:04:51Z","cwes":["CWE-77","CWE-78"],"updated_at":"2026-11-02T14:37:36.076201Z"}],"nvd":[{"id":"CVE-2012-1988","description":"Puppet 2.6.x before 2.6.15 and 2.7.x before 2.7.13, and Puppet Enterprise (PE) Users 1.0, 1.1, 1.2.x, 2.0.x, and 2.5.x before 2.5.1 allows remote authenticated users with agent SSL keys and file-creation permissions on the puppet master to execute arbitrary commands by creating a file whose full pathname contains shell metacharacters, then performing a filebucket request.","status":"published","published":"2012-05-29T20:55:08.243Z","modified":"2026-06-16T23:40:44.817Z","cvss":[{"version":"2.0","score":6,"vector":"AV:N/AC:M/Au:S/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:02:14.336529Z"}],"osv":[{"id":"CVE-2012-1988","description":"Puppet 2.6.x before 2.6.15 and 2.7.x before 2.7.13, and Puppet Enterprise (PE) Users 1.0, 1.1, 1.2.x, 2.0.x, and 2.5.x before 2.5.1 allows remote authenticated users with agent SSL keys and file-creation permissions on the puppet master to execute arbitrary commands by creating a file whose full pathname contains shell metacharacters, then performing a filebucket request.","status":"published","published":"2012-05-29T20:55:08Z","modified":"2026-04-10T03:42:17.5345Z","updated_at":"2026-11-02T15:43:58.537032Z"},{"id":"DEBIAN-CVE-2012-1988","description":"Puppet 2.6.x before 2.6.15 and 2.7.x before 2.7.13, and Puppet Enterprise (PE) Users 1.0, 1.1, 1.2.x, 2.0.x, and 2.5.x before 2.5.1 allows remote authenticated users with agent SSL keys and file-creation permissions on the puppet master to execute arbitrary commands by creating a file whose full pathname contains shell metacharacters, then performing a filebucket request.","status":"published","published":"2012-05-29T20:55:08.243Z","modified":"2026-08-19T06:47:34.061201207Z","updated_at":"2026-11-02T15:45:24.92418Z"},{"id":"DSA-2451-1","title":"puppet - several","status":"published","published":"2012-04-13T00:00:00Z","modified":"2026-03-09T01:18:44.793245Z","updated_at":"2026-11-02T15:46:15.489951Z"},{"id":"GHSA-6xxq-j39w-g3f6","title":"Puppet Arbitrary Command Execution","description":"Puppet 2.6.x before 2.6.15 and 2.7.x before 2.7.13, and Puppet Enterprise (PE) Users 1.0, 1.1, 1.2.x, 2.0.x, and 2.5.x before 2.5.1 allows remote authenticated users with agent SSL keys and file-creation permissions on the puppet master to execute arbitrary commands by creating a file whose full pathname contains shell metacharacters, then performing a filebucket request.","status":"published","published":"2022-05-14T00:56:45Z","modified":"2024-12-03T06:08:23.760847Z","cwes":["CWE-77","CWE-78"],"updated_at":"2026-11-02T15:46:40.308826Z"}]}}
