Advisory

GHSA-77hg-g8cc-5r37

Also known as: CVE-2012-1053

Summary

Puppet Privilege Escallation

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-14 00:56 UTC
Modified
2024-11-28 05:39 UTC

Affected packages and fixes

puppet

RubyGems · All systems

Affected

  • introduced 2.6, fixed 2.6.14 (ecosystem)

Fixed versions

2.6.14

Fix

The export has no generic command for this ecosystem.

puppet

RubyGems · All systems

Affected

  • introduced 2.7, fixed 2.7.11 (ecosystem)

Fixed versions

2.7.11

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences