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

CVE-2012-1988: Improper Neutralization of Special Elements used in a Command ('Command Injection')

May 14, 2022 (updated January 12, 2024)

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 allows remote authenticated users with agent SSL keys and file-creation permissions on the puppet master to execute arbitrary commands by creating a file whose full pathname contains shell metacharacters, then performing a filebucket request.

References

  • lists.fedoraproject.org/pipermail/package-announce/2012-April/079227.html
  • lists.fedoraproject.org/pipermail/package-announce/2012-April/079289.html
  • lists.fedoraproject.org/pipermail/package-announce/2012-May/080003.html
  • ubuntu.com/usn/usn-1419-1
  • www.debian.org/security/2012/dsa-2451
  • exchange.xforce.ibmcloud.com/vulnerabilities/74796
  • github.com/advisories/GHSA-6xxq-j39w-g3f6
  • github.com/puppetlabs/puppet/commit/0d6d29933e613fe177e9235415919a5428db67bc
  • github.com/puppetlabs/puppet/commit/568ded50ec6cc498ad32ff7f086d9f73b5d24c14
  • hermes.opensuse.org/messages/14523305
  • hermes.opensuse.org/messages/15087408
  • nvd.nist.gov/vuln/detail/CVE-2012-1988
  • web.archive.org/web/20120415105345/http://www.securityfocus.com/bid/52975
  • web.archive.org/web/20120513213112/http://projects.puppetlabs.com/issues/13518
  • web.archive.org/web/20120816020421/http://projects.puppetlabs.com/projects/1/wiki/Release_Notes
  • web.archive.org/web/20121013181707/http://puppetlabs.com/security/cve/cve-2012-1988/

Code Behaviors & Features

Detect and mitigate CVE-2012-1988 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.0 before 2.6.15, all versions starting from 2.7.0 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 6 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')
  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

gem/puppet/CVE-2012-1988.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:20 +0000.