{"id":"GHSA-mpmx-gm5v-q789","summary":"Puppet uses predictable filenames, allowing arbitrary file overwrite","details":"Puppet 2.7.x before 2.7.5, 2.6.x before 2.6.11, and 0.25.x, when running in `--edit` mode, uses a predictable file name, which allows local users to run arbitrary Puppet code or trick a user into editing arbitrary files.","aliases":["CVE-2011-3871"],"modified":"2024-12-02T05:39:58.972063Z","published":"2022-05-14T00:56:55Z","database_specific":{"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2024-01-16T21:26:49Z","nvd_published_at":"2011-10-27T20:55:00Z","cwe_ids":["CWE-340"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2011-3871"},{"type":"WEB","url":"https://github.com/puppetlabs/puppet/commit/343c7bd381b63e042d437111718918f951d9b30d"},{"type":"WEB","url":"https://github.com/puppetlabs/puppet/commit/d76c30935460ded953792dfe49f72b8c5158e899"},{"type":"PACKAGE","url":"https://github.com/puppetlabs/puppet"},{"type":"WEB","url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/puppet/CVE-2011-3871.yml"},{"type":"WEB","url":"https://puppet.com/security/cve/cve-2011-3871"},{"type":"WEB","url":"http://groups.google.com/group/puppet-announce/browse_thread/thread/91e3b46d2328a1cb"},{"type":"WEB","url":"http://lists.fedoraproject.org/pipermail/package-announce/2011-October/068053.html"},{"type":"WEB","url":"http://lists.fedoraproject.org/pipermail/package-announce/2011-October/068061.html"},{"type":"WEB","url":"http://lists.fedoraproject.org/pipermail/package-announce/2011-October/068093.html"},{"type":"WEB","url":"http://www.debian.org/security/2011/dsa-2314"},{"type":"WEB","url":"http://www.ubuntu.com/usn/USN-1223-1"},{"type":"WEB","url":"http://www.ubuntu.com/usn/USN-1223-2"}],"affected":[{"package":{"name":"puppet","ecosystem":"RubyGems","purl":"pkg:gem/puppet"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.7.0"},{"fixed":"2.7.5"}]}],"versions":["2.7.1","2.7.3","2.7.4"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-mpmx-gm5v-q789/GHSA-mpmx-gm5v-q789.json"}},{"package":{"name":"puppet","ecosystem":"RubyGems","purl":"pkg:gem/puppet"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.11"}]}],"versions":["0.13.0","0.13.1","0.13.2","0.13.6","0.16.0","0.18.4","0.22.4","0.23.0","0.23.1","0.23.2","0.24.0","0.24.1","0.24.2","0.24.3","0.24.4","0.24.5","0.24.6","0.24.7","0.24.8","0.24.9","0.25.0","0.25.1","0.25.2","0.25.3","0.25.4","0.25.5","0.9.2","2.6.0","2.6.1","2.6.10","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-mpmx-gm5v-q789/GHSA-mpmx-gm5v-q789.json"}}],"schema_version":"1.9.0"}