CVE-2012-1906 json
Puppet uses predictable filenames, allowing arbitrary file overwrite
published 2012-05-29 14 y ago modified 2026-06-16 4 mo ago also GHSA-c4mc-49hq-q275 , EUVD-2022-3504
- cvss
- 3.3
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 28%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2012-1906 updated cvss 5.5
puppet: Puppet uses predictable filenames, allowing arbitrary file overwrite
-
Red Hat OpenStack Platform 16.1 puppet, puppet-server, puppet-headless Red Hat OpenStack Platform 16.2 puppet, puppet-server, puppet-headless Red Hat OpenStack Platform 17.0 puppet, puppet-headless Red Hat OpenStack Platform 17.1 puppet, puppet-headlessnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.35% chance of exploitation in the next 30 days, higher than 28% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 3.3 | AV:L/AC:M/Au:N/C:N/I:P/A:P |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | puppet | >=2.6, <2.6.15 >=2.7, <2.7.13 |
2.6.15 2.7.13 |
Classification
References
-
github.com
/puppetlabs/puppet/commit/f7829ec1f1b2c3def8e0eda09c22c3c1fed3a27f
web
-
ubuntu.com
/usn/usn-1419-1
vendor-advisory
-
debian.org
/security/2012/dsa-2451
vendor-advisory
-
projects.puppetlabs.com
/issues/13260
web, vendor-advisory
-
secunia.com
/advisories/48743
third-party-advisory, vendor-advisory
-
puppetlabs.com
/security/cve/cve-2012-1906/
vendor-advisory
-
secunia.com
/advisories/48748
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/48789
third-party-advisory, vendor-advisory
-
exchange.xforce.ibmcloud.com
/vulnerabilities/74793
vdb-entry, web
-
securityfocus.com
/bid/52975
vdb-entry
-
nvd.nist.gov
/vuln/detail/CVE-2012-1906
advisory
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/puppet/CVE-2012-1906.yml
web
-
ubuntu.com
/usn/usn-1419-1
web
-
web.archive.org
/web/20120415105345/http://www.securityfocus.com/bid/52975
web
-
debian.org
/security/2012/dsa-2451
web
-
puppetlabs.com
/security/cve/cve-2012-1906
web
Sources
- CVE List CVE-2012-1906
- GitHub Advisory GHSA-c4mc-49hq-q275
- NVD CVE-2012-1906
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.