CVE-2014-3248
published 2014-11-16CVE-2014-3248: 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…
PriorityP422medium6.2CVSS 2.0
AVLACHAuNCCICAC
EPSS
0.54%
42.0th percentile
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.
Affected
29 ranges· showing 25
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | facter | < facter 2.0.1-1 (bookworm) | facter 2.0.1-1 (bookworm) |
| debian | hiera | < facter 2.0.1-1 (bookworm) | facter 2.0.1-1 (bookworm) |
| debian | mcollective | < facter 2.0.1-1 (bookworm) | facter 2.0.1-1 (bookworm) |
| debian | puppet | < facter 2.0.1-1 (bookworm) | facter 2.0.1-1 (bookworm) |
| puppet | facter | — | — |
| puppet | facter | — | — |
| puppet | hiera | < 1.3.4 | 1.3.4 |
| puppet | hiera | >= 0 < 1.3.4-1 | 1.3.4-1 |
| puppet | hiera | >= 0 < 1.3.4-1 | 1.3.4-1 |
| puppet | hiera | >= 0 < 1.3.4-1 | 1.3.4-1 |
| puppet | hiera | >= 0 < 1.3.4-1 | 1.3.4-1 |
| puppet | hiera | >= 0 < 1.3.4 | 1.3.4 |
| puppet | marionette_collective | < 2.5.2 | 2.5.2 |
| puppet | mcollective | >= 0 < 2.5.2+dfsg-1 | 2.5.2+dfsg-1 |
| puppet | mcollective | >= 0 < 2.5.2+dfsg-1 | 2.5.2+dfsg-1 |
| puppet | puppet | < 2.7.26 | 2.7.26 |
| puppet | puppet | >= 0 < 3.7.0-1 | 3.7.0-1 |
| puppet | puppet | >= 0 < 2.7.26 | 2.7.26 |
| puppet | puppet | >= 0 < 3.4.3-1ubuntu1.2 | 3.4.3-1ubuntu1.2 |
| puppet | puppet | >= 3.0.0 < 3.6.2 | 3.6.2 |
| puppet | puppet | >= 3.6.0 < 3.6.2 | 3.6.2 |
| puppet | puppet_enterprise | >= 2.8.0 < 2.8.7 | 2.8.7 |
| puppetlabs | facter | >= 0 < 2.0.1-1 | 2.0.1-1 |
| puppetlabs | facter | >= 0 < 2.0.1-1 | 2.0.1-1 |
| puppetlabs | facter | >= 0 < 2.0.1-1 | 2.0.1-1 |
CVSS provenance
nvdv2.06.2MEDIUMAV:L/AC:H/Au:N/C:C/I:C/A:C
osv6.2MEDIUM
vendor_debian6.2LOW
vendor_redhat6.2MEDIUM
vendor_ubuntu6.2MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
facter, hiera, mcollective-client, and puppet affected by untrusted search path vulnerability
ghsa·2017-10-24
CVE-2014-3248 [MEDIUM] facter, hiera, mcollective-client, and puppet affected by untrusted search path vulnerability
facter, hiera, mcollective-client, and puppet affected by untrusted search path vulnerability
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`.
OSV
facter, hiera, mcollective-client, and puppet affected by untrusted search path vulnerability
osv·2017-10-24
CVE-2014-3248 [MEDIUM] facter, hiera, mcollective-client, and puppet affected by untrusted search path vulnerability
facter, hiera, mcollective-client, and puppet affected by untrusted search path vulnerability
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`.
OSV
puppet vulnerabilities
osv·2017-06-05·CVSS 6.2
CVE-2014-3248 [MEDIUM] puppet vulnerabilities
puppet vulnerabilities
Dennis Rowe discovered that Puppet incorrectly handled the search path. A
local attacker could use this issue to possibly execute arbitrary code.
(CVE-2014-3248)
It was discovered that Puppet incorrectly handled YAML deserialization. A
remote attacker could possibly use this issue to execute arbitrary code on
the master. This update is incompatible with agents older than 3.2.2.
(CVE-2017-2295)
OSV
CVE-2014-3248: Untrusted search path vulnerability in Puppet Enterprise 2
osv·2014-11-16·CVSS 6.2
CVE-2014-3248 [MEDIUM] CVE-2014-3248: Untrusted search path vulnerability in Puppet Enterprise 2
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.
Ubuntu
Puppet vulnerabilities
vendor_ubuntu·2017-06-05·CVSS 6.2
CVE-2014-3248 [MEDIUM] Puppet vulnerabilities
Title: Puppet vulnerabilities
Summary: Several security issues were fixed in Puppet.
Dennis Rowe discovered that Puppet incorrectly handled the search path. A
local attacker could use this issue to possibly execute arbitrary code.
(CVE-2014-3248)
It was discovered that Puppet incorrectly handled YAML deserialization. A
remote attacker could possibly use this issue to execute arbitrary code on
the master. This update is incompatible with agents older than 3.2.2.
(CVE-2017-2295)
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
puppet: Ruby modules could be loaded from the current working directory
vendor_redhat·2014-06-10·CVSS 6.2
CVE-2014-3248 [MEDIUM] CWE-829 puppet: Ruby modules could be loaded from the current working directory
puppet: Ruby modules could be loaded from the current working directory
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.
Statement: This issue did not affect the versions of Puppet, Mcollective, Facter, or Hiera as shipped with variou
Debian
CVE-2014-3248: facter - Untrusted search path vulnerability in Puppet Enterprise 2.8 before 2.8.7, Puppe...
vendor_debian·2014·CVSS 6.2
CVE-2014-3248 [MEDIUM] CVE-2014-3248: facter - Untrusted search path vulnerability in Puppet Enterprise 2.8 before 2.8.7, Puppe...
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.
Scope: local
bookworm: resolved (fixed in 2.0.1-1)
bullseye: resolved (fixed in 2.0.1-1)
forky: resolved (fixed in 2.0.1-1)
sid: resolved (fixed in 2.0.1-1)
trixie: resolved (fixed in 2.0
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2014-3248 facter: puppet: Ruby modules could be loaded from the current working directory [fedora-20]
bugzilla·2014-07-01·CVSS 6.2
CVE-2014-3248 [MEDIUM] CVE-2014-3248 facter: puppet: Ruby modules could be loaded from the current working directory [fedora-20]
CVE-2014-3248 facter: puppet: Ruby modules could be loaded from the current working directory [fedora-20]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When creating a Bodhi update request, use the bodhi submission link noted
in the next comment(s). This will include the bug IDs of this tracking
bug as well as the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
Bodhi notes field when available.
fedora
Bugzilla
CVE-2014-3248 mcollective: puppet: Ruby modules could be loaded from the current working directory [epel-all]
bugzilla·2014-06-11·CVSS 6.2
CVE-2014-3248 [MEDIUM] CVE-2014-3248 mcollective: puppet: Ruby modules could be loaded from the current working directory [epel-all]
CVE-2014-3248 mcollective: puppet: Ruby modules could be loaded from the current working directory [epel-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora EPEL.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When creating a Bodhi update request, use the bodhi submission link noted
in the next comment(s). This will include the bug IDs of this tracking
bug as well as the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
Bodhi notes field when available
Bugzilla
CVE-2014-3248 hiera: puppet: Ruby modules could be loaded from the current working directory [epel-6]
bugzilla·2014-06-11·CVSS 6.2
CVE-2014-3248 [MEDIUM] CVE-2014-3248 hiera: puppet: Ruby modules could be loaded from the current working directory [epel-6]
CVE-2014-3248 hiera: puppet: Ruby modules could be loaded from the current working directory [epel-6]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora EPEL.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When creating a Bodhi update request, use the bodhi submission link noted
in the next comment(s). This will include the bug IDs of this tracking
bug as well as the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
Bodhi notes field when available.
epel-
Bugzilla
CVE-2014-3248 facter: puppet: Ruby modules could be loaded from the current working directory [fedora-19]
bugzilla·2014-06-11·CVSS 6.2
CVE-2014-3248 [MEDIUM] CVE-2014-3248 facter: puppet: Ruby modules could be loaded from the current working directory [fedora-19]
CVE-2014-3248 facter: puppet: Ruby modules could be loaded from the current working directory [fedora-19]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When creating a Bodhi update request, use the bodhi submission link noted
in the next comment(s). This will include the bug IDs of this tracking
bug as well as the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
Bodhi notes field when available.
fedora
Bugzilla
CVE-2014-3248 facter: puppet: Ruby modules could be loaded from the current working directory [epel-all]
bugzilla·2014-06-11·CVSS 6.2
CVE-2014-3248 [MEDIUM] CVE-2014-3248 facter: puppet: Ruby modules could be loaded from the current working directory [epel-all]
CVE-2014-3248 facter: puppet: Ruby modules could be loaded from the current working directory [epel-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora EPEL.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When creating a Bodhi update request, use the bodhi submission link noted
in the next comment(s). This will include the bug IDs of this tracking
bug as well as the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
Bodhi notes field when available.
NO
Bugzilla
CVE-2014-3248 puppet: Ruby modules could be loaded from the current working directory [epel-all]
bugzilla·2014-06-11·CVSS 6.2
CVE-2014-3248 [MEDIUM] CVE-2014-3248 puppet: Ruby modules could be loaded from the current working directory [epel-all]
CVE-2014-3248 puppet: Ruby modules could be loaded from the current working directory [epel-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora EPEL.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When creating a Bodhi update request, use the bodhi submission link noted
in the next comment(s). This will include the bug IDs of this tracking
bug as well as the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
Bodhi notes field when available.
NOTE: this
Bugzilla
CVE-2014-3248 puppet: Ruby modules could be loaded from the current working directory
bugzilla·2014-05-27·CVSS 6.2
CVE-2014-3248 [MEDIUM] CVE-2014-3248 puppet: Ruby modules could be loaded from the current working directory
CVE-2014-3248 puppet: Ruby modules could be loaded from the current working directory
Running Puppet, Mcollective, Facter, or Hiera on a host that has a version of Ruby older than 1.9.2 could result in a Ruby module being loaded from the current working directory. If Puppet, Mcollective, Facter, or Hiera were run from an attacker-controlled directory, it could result in arbitrary code execution. This issue affects all versions of Puppet, Mcollective, and Hiera. It affects Facter versions 1.6.x and 2.x.
This is due to an underlying issue in Ruby that was fixed in version 1.9.2: https://www.ruby-lang.org/en/news/2010/08/18/ruby-1-9.2-released
Acknowledgements:
Red Hat would like to thank Puppet Labs for reporting this issue. Upstream acknowledges Dennis Rowe (shr3kst3r) as the original r
http://puppetlabs.com/security/cve/cve-2014-3248http://rowediness.com/2014/06/13/cve-2014-3248-a-little-problem-with-puppet/http://secunia.com/advisories/59197http://secunia.com/advisories/59200http://www.securityfocus.com/bid/68035http://puppetlabs.com/security/cve/cve-2014-3248http://rowediness.com/2014/06/13/cve-2014-3248-a-little-problem-with-puppet/http://secunia.com/advisories/59197http://secunia.com/advisories/59200http://www.securityfocus.com/bid/68035
2014-11-16
Published