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 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
Fixed builds are available from RubyGems: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| RubyGems library | puppet | Fixed | 2.7.11 | GHSA-77hg-g8cc-5r37 |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- http://ubuntu.com/usn/usn-1372-1 (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2012-03/msg00003.html (vendor-advisory)
- http://www.debian.org/security/2012/dsa-2419 (vendor-advisory)
- https://hermes.opensuse.org/messages/15087408 (vendor-advisory)
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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.