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

CVE-2011-3871: Puppet uses predictable filenames, allowing arbitrary file overwrite

May 14, 2022 (updated January 16, 2024)

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.

References

  • groups.google.com/group/puppet-announce/browse_thread/thread/91e3b46d2328a1cb
  • lists.fedoraproject.org/pipermail/package-announce/2011-October/068053.html
  • lists.fedoraproject.org/pipermail/package-announce/2011-October/068061.html
  • lists.fedoraproject.org/pipermail/package-announce/2011-October/068093.html
  • www.debian.org/security/2011/dsa-2314
  • www.ubuntu.com/usn/USN-1223-1
  • www.ubuntu.com/usn/USN-1223-2
  • github.com/advisories/GHSA-mpmx-gm5v-q789
  • github.com/puppetlabs/puppet/commit/343c7bd381b63e042d437111718918f951d9b30d
  • github.com/puppetlabs/puppet/commit/d76c30935460ded953792dfe49f72b8c5158e899
  • nvd.nist.gov/vuln/detail/CVE-2011-3871
  • puppet.com/security/cve/cve-2011-3871

Code Behaviors & Features

Detect and mitigate CVE-2011-3871 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 before 2.6.11, all versions starting from 2.7 before 2.7.5

Fixed versions

  • 2.6.11
  • 2.7.5

Solution

Upgrade to versions 2.6.11, 2.7.5 or above.

Impact 6.2 MEDIUM

AV:L/AC:H/Au:N/C:C/I:C/A:C

Learn more about CVSS

Weakness

  • CWE-264

Source file

gem/puppet/CVE-2011-3871.yml

Spotted a mistake? Edit the file on GitLab.

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

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