{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2012-1906","id":"CVE-2012-1906","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.","descriptionLong":"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.","published":"2012-05-29T20:00:00.000Z","updated":"2026-06-16T23:40:32.023Z","reserved":"2012-03-26T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"2.0","score":3.3,"vector":"AV:L/AC:M/Au:N/C:N/I:P/A:P","rating":"low","source":"NVD"},"metrics":[{"version":"2.0","score":3.3,"vector":"AV:L/AC:M/Au:N/C:N/I:P/A:P","rating":"low","source":"NVD"}],"rating":"low","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"RubyGems","name":"puppet","purl":"pkg:gem/puppet","ranges":[">=2.6 <2.6.15",">=2.7 <2.7.13"],"fixed":["2.6.15","2.7.13"],"advisory":"GHSA-c4mc-49hq-q275"}],"cwes":["CWE-264","CWE-377"],"aliases":["GHSA-c4mc-49hq-q275"],"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://github.com/rubysec/ruby-advisory-db/blob/master/gems/puppet/CVE-2012-1906.yml","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":"http://puppetlabs.com/security/cve/cve-2012-1906","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.0035,"epssPercentile":0.2916,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2012-1906","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2012-1906","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2012-1906","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-c4mc-49hq-q275","ok":true,"note":"GHSA-c4mc-49hq-q275"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2012-1906","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}