Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. puppet
  4. ›
  5. CVE-2012-1906

CVE-2012-1906: Puppet uses predictable filenames, allowing arbitrary file overwrite

May 14, 2022 (updated August 29, 2023)

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.

References

  • exchange.xforce.ibmcloud.com/vulnerabilities/74793
  • github.com/advisories/GHSA-c4mc-49hq-q275
  • github.com/puppetlabs/puppet/commit/f7829ec1f1b2c3def8e0eda09c22c3c1fed3a27f
  • nvd.nist.gov/vuln/detail/CVE-2012-1906
  • ubuntu.com/usn/usn-1419-1
  • web.archive.org/web/20120415105345/http://www.securityfocus.com/bid/52975
  • www.debian.org/security/2012/dsa-2451

Code Behaviors & Features

Detect and mitigate CVE-2012-1906 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.6 before 2.6.15, all versions starting from 2.7 before 2.7.13

Fixed versions

  • 2.6.15
  • 2.7.13

Solution

Upgrade to versions 2.6.15, 2.7.13 or above.

Impact 3.3 LOW

AV:L/AC:M/Au:N/C:N/I:P/A:P

Learn more about CVSS

Weakness

  • CWE-264

Source file

gem/puppet/CVE-2012-1906.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:04 +0000.