CVE-2014-3248
puppet: Ruby modules could be loaded from the current working directory
Overview
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.
Source: OX vulnerability database
Severity
6.2 · MEDIUM
CVSS 2.0 base score, scored by NVD.
- Access vector
- Local
- Access complexity
- High
- Authentication
- None
- Confidentiality
- Complete
- Integrity
- Complete
- Availability
- Complete
AV:L/AC:H/Au:N/C:C/I:C/A:C
Weakness: CWE-17
Affected packages · 4
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| RubyGems | facter | <1.7.6>=2.0.0, <2.0.2 | 1.7.62.0.2~> 1.7.6 |
| RubyGems | hiera | <1.3.4 | 1.3.4 |
| RubyGems | mcollective-client | <2.5.2 | 2.5.2 |
| RubyGems | puppet | <2.7.26>=3.0.0, <3.6.2 | 2.7.263.6.2~> 2.7.26 |
Open a package to see all its vulnerabilities.
Operating systems · 15 fixes
debian 4 releases · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| 11 | hiera | 1.3.4-1 |
| 11 | facter | 2.0.1-1 |
| 11 | mcollective | 2.5.2+dfsg-1 |
| 11 | puppet | 3.7.0-1 |
| 12 | hiera | 1.3.4-1 |
| 12 | facter | 2.0.1-1 |
4 more rows
echo 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| hiera | 1.3.4-1 | |
| facter | 2.0.1-1 |
openSUSE 1 release · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | ruby2-2-rubygem-hiera +6 | 1.3.4-3.5 | openSUSE-SU-2024:10565-1 |
| Tumbleweed | ruby2-2-rubygem-facter +6 | 2.4.6-2.1 | openSUSE-SU-2024:10565-1 |
| Tumbleweed | ruby2-2-rubygem-puppet +10 | 3.8.7-2.2 | openSUSE-SU-2024:10581-1 |
References
- puppetlabs.com http://puppetlabs.com/security/cve/cve-2014-3248
- rowediness.com http://rowediness.com/2014/06/13/cve-2014-3248-a-little-problem-with-puppet/
- secunia.com http://secunia.com/advisories/59197
- secunia.com http://secunia.com/advisories/59200
- www.openwall.com http://www.openwall.com/lists/oss-security/2014/07/08/2
- www.securityfocus.com http://www.securityfocus.com/bid/68035
- access.redhat.com https://access.redhat.com/security/cve/CVE-2014-3248
- github.com https://github.com/advisories/GHSA-92v7-pq4h-58j5
- github.com https://github.com/rubysec/ruby-advisory-db/blob/master/gems/facter/CVE-2014-3248.yml
- github.com https://github.com/rubysec/ruby-advisory-db/blob/master/gems/hiera/CVE-2014-3248.yml
Show all 20 references
- github.com https://github.com/rubysec/ruby-advisory-db/blob/master/gems/mcollective-client/CVE-2014-3248.yml
- github.com https://github.com/rubysec/ruby-advisory-db/blob/master/gems/puppet/CVE-2014-3248.yml
- github.com https://github.com/rubysec/ruby-advisory-db/issues/238
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2014-3248
- sca.analysiscenter.veracode.com https://sca.analysiscenter.veracode.com/vulnerability-database/security/elevation-privileges-untrusted-search/ruby/sid-1586/summary
- ubuntu.com https://ubuntu.com/security/notices/USN-3308-1
- web.archive.org https://web.archive.org/web/20141129061319/http://www.securityfocus.com/bid/68035
- web.archive.org https://web.archive.org/web/20150204183209/http://rowediness.com/2014/06/13/cve-2014-3248-a-little-problem-with-puppet
- web.archive.org https://web.archive.org/web/20150907182402/http://puppetlabs.com/security/cve/cve-2014-3248
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2014-3248
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.