Skip to content

Puppet Privilege Escallation

Moderate severity GitHub Reviewed Published May 14, 2022 to the GitHub Advisory Database • Updated Aug 29, 2023

Package

bundler puppet (RubyGems)

Affected versions

>= 2.6, < 2.6.14
>= 2.7, < 2.7.11

Patched versions

2.6.14
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.

References

Published by the National Vulnerability Database May 29, 2012
Published to the GitHub Advisory Database May 14, 2022
Reviewed Aug 29, 2023
Last updated Aug 29, 2023

Severity

Moderate

EPSS score

0.044%
(11th percentile)

Weaknesses

CVE ID

CVE-2012-1053

GHSA ID

GHSA-77hg-g8cc-5r37

Source code

No known source code
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.