CVE-2014-3248: Facter Facter, Hiera, Mcollective-client, And Puppet Vulnerability
MODERATECVE-2014-3248 is a MODERATE facter, hiera, mcollective-client, and puppet vulnerability (General Security Weakness) affecting Facter libraries in the RubyGems ecosystem. The issue involves facter, hiera, mcollective-client, and puppet affected by untrusted search path vulnerability. Remediation is available by upgrading affected packages to version 1.7.6, 2.0.2, 1.3.4, 2.7.26, 3.6.2, 2.5.2.
CVE-2014-3248 at a Glance
How to Fix CVE-2014-3248
To remediate this vulnerability, upgrade all affected Facter dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade facter to 1.7.6
Upgrade facter to 2.0.2
Upgrade hiera to 1.3.4
Upgrade puppet to 2.7.26
Upgrade puppet to 3.6.2
Upgrade mcollective-client to 2.5.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for facter
How to Check if You Are Affected
To determine whether your application is affected by CVE-2014-3248, inspect your project dependencies for Facter:
inspect dependencies for facter
Analyze the terminal output to locate any version of Facter in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.7.6), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under General Security Weakness. In Facter, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2014-3248 Affected Facter Versions
6 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
facter
|
RubyGems |
< 1.7.6
|
1.7.6
|
|
facter
|
RubyGems |
≥ 2.0.0
< 2.0.2
|
2.0.2
|
|
hiera
|
RubyGems |
< 1.3.4
|
1.3.4
|
|
puppet
|
RubyGems |
< 2.7.26
|
2.7.26
|
|
puppet
|
RubyGems |
≥ 3.0.0
< 3.6.2
|
3.6.2
|
|
mcollective-client
|
RubyGems |
< 2.5.2
|
2.5.2
|
References
Frequently Asked Questions
What is CVE-2014-3248?
Which Facter versions are affected?
What version fixes CVE-2014-3248?
Is facter affected?
Is hiera affected?
What CWE is associated with CVE-2014-3248?
How can I check RubyGems dependencies for CVE-2014-3248?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-92v7-pq4h-58j5",
"modified" : "2023-06-07T14:06:11Z",
"published" : "2017-10-24T18:33:36Z",
"aliases" : [ "CVE-2014-3248" ],
"summary" : "facter, hiera, mcollective-client, and puppet affected by untrusted search path vulnerability",
"details" : "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`.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "RubyGems",
"name" : "facter"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.7.6"
} ]
} ]
}, {
"package" : {
"ecosystem" : "RubyGems",
"name" : "facter"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.0.0"
}, {
"fixed" : "2.0.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "RubyGems",
"name" : "hiera"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.3.4"
} ]
} ]
}, {
"package" : {
"ecosystem" : "RubyGems",
"name" : "puppet"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.7.26"
} ]
} ]
}, {
"package" : {
"ecosystem" : "RubyGems",
"name" : "puppet"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.0.0"
}, {
"fixed" : "3.6.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "RubyGems",
"name" : "mcollective-client"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.5.2"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2014-3248"
}, {
"type" : "WEB",
"url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/facter/CVE-2014-3248.yml"
}, {
"type" : "WEB",
"url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/hiera/CVE-2014-3248.yml"
}, {
"type" : "WEB",
"url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/mcollective-client/CVE-2014-3248.yml"
}, {
"type" : "WEB",
"url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/puppet/CVE-2014-3248.yml"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20141129061319/http://www.securityfocus.com/bid/68035"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20150204183209/http://rowediness.com/2014/06/13/cve-2014-3248-a-little-problem-with-puppet"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20150907182402/http://puppetlabs.com/security/cve/cve-2014-3248"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2020-06-16T21:27:08Z",
"nvd_published_at" : "2014-11-16T17:59:00Z"
}
}