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

CVE-2012-1053: Puppet Privilege Escallation

May 14, 2022 (updated August 29, 2023)

The change_user method in the SUIDManager (lib/puppet/util/suidmanager.rb) in Puppet 2.6.x before 2.6.14 and 2.7.x before 2.7.11, and Puppet Enterprise (PE) Users 1.0, 1.1, 1.2.x, 2.0.x before 2.0.3 does not properly manage group privileges, which allows local users to gain privileges via vectors related to (1) the change_user not dropping supplementary groups in certain conditions, (2) changes to the eguid without associated changes to the egid, or (3) the addition of the real gid to supplementary groups.

References

  • exchange.xforce.ibmcloud.com/vulnerabilities/73445
  • github.com/advisories/GHSA-77hg-g8cc-5r37
  • github.com/puppetlabs/puppet/commit/76d0749f0a9a496b70e7dc7e6d6d6ff692224e36
  • hermes.opensuse.org/messages/15087408
  • lists.opensuse.org/opensuse-security-announce/2012-03/msg00003.html
  • nvd.nist.gov/vuln/detail/CVE-2012-1053
  • ubuntu.com/usn/usn-1372-1
  • web.archive.org/web/20120504011717/http://puppetlabs.com/security/cve/cve-2012-1053/
  • web.archive.org/web/20120513215447/http://projects.puppetlabs.com/issues/12458
  • web.archive.org/web/20120513215653/http://projects.puppetlabs.com/issues/12457
  • web.archive.org/web/20120513223437/http://projects.puppetlabs.com/issues/12459
  • web.archive.org/web/20120527071855/http://www.securityfocus.com/bid/52158
  • web.archive.org/web/20120816020421/http://projects.puppetlabs.com/projects/1/wiki/Release_Notes
  • www.debian.org/security/2012/dsa-2419

Code Behaviors & Features

Detect and mitigate CVE-2012-1053 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.14, all versions starting from 2.7 before 2.7.11

Fixed versions

  • 2.6.14
  • 2.7.11

Solution

Upgrade to versions 2.6.14, 2.7.11 or above.

Impact 6.9 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-264

Source file

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