{"id":"GHSA-c4mc-49hq-q275","summary":"Puppet uses predictable filenames, allowing arbitrary file overwrite","details":"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.","aliases":["CVE-2012-1906"],"modified":"2024-11-28T05:41:47.980782Z","published":"2022-05-14T00:56:45Z","database_specific":{"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2023-08-29T21:02:11Z","nvd_published_at":"2012-05-29T20:55:00Z","cwe_ids":["CWE-377"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2012-1906"},{"type":"WEB","url":"https://github.com/puppetlabs/puppet/commit/f7829ec1f1b2c3def8e0eda09c22c3c1fed3a27f"},{"type":"WEB","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/74793"},{"type":"WEB","url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/puppet/CVE-2012-1906.yml"},{"type":"WEB","url":"https://ubuntu.com/usn/usn-1419-1"},{"type":"WEB","url":"https://web.archive.org/web/20120415105345/http://www.securityfocus.com/bid/52975"},{"type":"WEB","url":"https://www.debian.org/security/2012/dsa-2451"},{"type":"WEB","url":"http://projects.puppetlabs.com/issues/13260"},{"type":"WEB","url":"http://puppetlabs.com/security/cve/cve-2012-1906"}],"affected":[{"package":{"name":"puppet","ecosystem":"RubyGems","purl":"pkg:gem/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"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-c4mc-49hq-q275/GHSA-c4mc-49hq-q275.json"}},{"package":{"name":"puppet","ecosystem":"RubyGems","purl":"pkg:gem/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"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-c4mc-49hq-q275/GHSA-c4mc-49hq-q275.json"}}],"schema_version":"1.9.0"}