{"id":"CVE-2012-1906","aliases":["DEBIAN-CVE-2012-1906","DSA-2451-1","EUVD-2022-3504","GHSA-c4mc-49hq-q275"],"status":"published","title":"Puppet uses predictable filenames, allowing arbitrary file overwrite","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 uses predictable file names when installing Mac OS X packages from a remote source, which allows local users to overwrite arbitrary files or install arbitrary packages via a symlink attack on a temporary file in /tmp.","severity":{"version":"2.0","score":3.3,"vector":"AV:L/AC:M/Au:N/C:N/I:P/A:P","level":"low","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.0035,"percentile":0.2884,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-264","CWE-377"],"published":"2012-04-13T00:00:00Z","modified":"2026-08-19T06:47:40Z","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"},{"fixed":"2.6.15"}]}]},{"source":"ghsa","ecosystem":"RubyGems","package":"puppet","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.7"},{"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"},{"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"},{"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":"puppet","product":"puppet"},{"vendor":"puppet","product":"puppet_enterprise"},{"vendor":"puppetlabs","product":"puppet"},{"vendor":"puppetlabs","product":"puppet_enterprise_users"}],"references":[{"url":"http://projects.puppetlabs.com/issues/13260","tags":["x_refsource_MISC","x_transferred","Vendor Advisory","advisory","web"]},{"url":"http://ubuntu.com/usn/usn-1419-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","web"]},{"url":"http://secunia.com/advisories/48743","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/74793","tags":["vdb-entry","x_refsource_XF","x_transferred","web"]},{"url":"http://puppetlabs.com/security/cve/cve-2012-1906/","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory"]},{"url":"http://www.securityfocus.com/bid/52975","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"http://secunia.com/advisories/48748","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://www.debian.org/security/2012/dsa-2451","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/48789","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-1906","tags":["advisory"]},{"url":"https://github.com/puppetlabs/puppet/commit/f7829ec1f1b2c3def8e0eda09c22c3c1fed3a27f","tags":["web"]},{"url":"https://ubuntu.com/usn/usn-1419-1","tags":["web"]},{"url":"https://web.archive.org/web/20120415105345/http://www.securityfocus.com/bid/52975","tags":["web"]},{"url":"https://www.debian.org/security/2012/dsa-2451","tags":["web"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/puppet/CVE-2012-1906.yml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-c4mc-49hq-q275"},{"url":"https://security-tracker.debian.org/tracker/CVE-2012-1906","tags":["advisory"]},{"url":"http://puppetlabs.com/security/cve/cve-2012-1906","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2012-1906","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 uses predictable file names when installing Mac OS X packages from a remote source, which allows local users to overwrite arbitrary files or install arbitrary packages via a symlink attack on a temporary file in /tmp.","status":"published","published":"2012-05-29T20:00:00Z","modified":"2024-08-06T19:17:27.063Z","updated_at":"2026-11-02T14:34:51.937988Z"}],"euvd":[{"id":"EUVD-2022-3504","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 uses predictable file names when installing Mac OS X packages from a remote source, which allows local users to overwrite arbitrary files or install arbitrary packages via a symlink attack on a temporary file in /tmp.","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-c4mc-49hq-q275","title":"Puppet uses predictable filenames, allowing arbitrary file overwrite","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 uses predictable file names when installing Mac OS X packages from a remote source, which allows local users to overwrite arbitrary files or install arbitrary packages via a symlink attack on a temporary file in /tmp.","status":"published","published":"2022-05-14T00:56:45Z","modified":"2023-09-18T21:20:39Z","cwes":["CWE-377"],"updated_at":"2026-11-02T14:37:05.567008Z"}],"nvd":[{"id":"CVE-2012-1906","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 uses predictable file names when installing Mac OS X packages from a remote source, which allows local users to overwrite arbitrary files or install arbitrary packages via a symlink attack on a temporary file in /tmp.","status":"published","published":"2012-05-29T20:55:07.213Z","modified":"2026-06-16T23:40:32.023Z","cvss":[{"version":"2.0","score":3.3,"vector":"AV:L/AC:M/Au:N/C:N/I:P/A:P","level":"low","assessor":"primary"}],"cwes":["CWE-264"],"updated_at":"2026-11-02T14:02:14.336529Z"}],"osv":[{"id":"CVE-2012-1906","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 uses predictable file names when installing Mac OS X packages from a remote source, which allows local users to overwrite arbitrary files or install arbitrary packages via a symlink attack on a temporary file in /tmp.","status":"published","published":"2012-05-29T20:55:07Z","modified":"2026-04-10T03:42:16.988483Z","updated_at":"2026-11-02T15:43:58.537032Z"},{"id":"DEBIAN-CVE-2012-1906","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 uses predictable file names when installing Mac OS X packages from a remote source, which allows local users to overwrite arbitrary files or install arbitrary packages via a symlink attack on a temporary file in /tmp.","status":"published","published":"2012-05-29T20:55:07.213Z","modified":"2026-08-19T06:47:40.131215228Z","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-c4mc-49hq-q275","title":"Puppet uses predictable filenames, allowing arbitrary file overwrite","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 uses predictable file names when installing Mac OS X packages from a remote source, which allows local users to overwrite arbitrary files or install arbitrary packages via a symlink attack on a temporary file in /tmp.","status":"published","published":"2022-05-14T00:56:45Z","modified":"2024-11-28T05:38:52.671592Z","cwes":["CWE-377"],"updated_at":"2026-11-02T15:46:44.571161Z"}]}}
