Skip to content
OpenAdvisories
Medium CVE-2014-3248 EUVD-2017-0196GHSA-92v7-pq4h-58j5

facter, hiera, mcollective-client, and puppet affected by untrusted search path vulnerability

Published Nov 16, 2014 · Updated Aug 6, 2024 · Assigned by mitre

Description

Untrusted search path vulnerability in Puppet Enterprise 2.8 before 2.8.7, Puppet before 2.7.26 and 3.x before 3.6.2, Facter 1.6.x and 2.x before 2.0.2, Hiera before 1.3.4, and Mcollective before 2.5.2, when running with Ruby 1.9.1 or earlier, allows local users to gain privileges via a Trojan horse file in the current working directory, as demonstrated using (1) rubygems/defaults/operating_system.rb, (2) Win32API.rb, (3) Win32API.so, (4) safe_yaml.rb, (5) safe_yaml/deep.rb, or (6) safe_yaml/deep.so; or (7) operatingsystem.rb, (8) operatingsystem.so, (9) osfamily.rb, or (10) osfamily.so in puppet/confine.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 hiera 1.3.4-1 —
Debian 13 facter 2.0.1-1 —
Debian 13 hiera 1.3.4-1 —
Debian 12 facter 2.0.1-1 —
Debian 12 hiera 1.3.4-1 —
Debian 12 mcollective 2.5.2+dfsg-1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 facter No fix yet —
Ubuntu 14.04 LTS facter No fix yet —
Ubuntu 14.04 LTS puppet 3.4.3-1ubuntu1.2 USN-3308-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed rubygem-facter 1.3.4-3.5 openSUSE-SU-2024:10565-1

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems facter < 1.7.6 1.7.6 GHSA-92v7-pq4h-58j5
RubyGems facter >= 2.0.0, < 2.0.2 2.0.2 GHSA-92v7-pq4h-58j5
RubyGems hiera < 1.3.4 1.3.4 GHSA-92v7-pq4h-58j5
RubyGems mcollective-client < 2.5.2 2.5.2 GHSA-92v7-pq4h-58j5
RubyGems puppet < 2.7.26 2.7.26 GHSA-92v7-pq4h-58j5
RubyGems puppet >= 3.0.0, < 3.6.2 3.6.2 GHSA-92v7-pq4h-58j5

Advisories 2

References