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

CVE-2012-3865: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

October 24, 2017 (updated September 10, 2021)

Directory traversal vulnerability in lib/puppet/reports/store.rb in Puppet before 2.6.17 and 2.7.x before 2.7.18, and Puppet Enterprise before 2.5.2, when Delete is enabled in auth.conf, allows remote authenticated users to delete arbitrary files on the puppet master server via a .. (dot dot) in a node name.

References

  • lists.opensuse.org/opensuse-security-announce/2012-08/msg00006.html
  • lists.opensuse.org/opensuse-updates/2012-07/msg00036.html
  • puppetlabs.com/security/cve/cve-2012-3865/
  • secunia.com/advisories/50014
  • www.debian.org/security/2012/dsa-2511
  • www.ubuntu.com/usn/USN-1506-1
  • bugzilla.redhat.com/show_bug.cgi?id=839131
  • github.com/advisories/GHSA-g89m-3wjw-h857
  • github.com/puppetlabs/puppet/commit/554eefc55f57ed2b76e5ee04d8f194d36f6ee67f
  • github.com/puppetlabs/puppet/commit/d80478208d79a3e6d6cb1fbc525e24817fe8c4c6
  • nvd.nist.gov/vuln/detail/CVE-2012-3865

Code Behaviors & Features

Detect and mitigate CVE-2012-3865 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.17, all versions starting from 2.7.0 before 2.7.18

Fixed versions

  • 2.6.17
  • 2.7.18

Solution

Upgrade to versions 2.6.17, 2.7.18 or above.

Impact 3.5 LOW

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

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

gem/puppet/CVE-2012-3865.yml

Spotted a mistake? Edit the file on GitLab.

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

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