CVE-2015-1426: Facter Puppet Labs Facter Allows Local Vulnerability
LOWCVE-2015-1426 is a LOW puppet labs facter allows local vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Facter libraries in the RubyGems ecosystem. The issue involves puppet labs facter allows local users to obtain sensitive amazon ec2 iam instance metadata. Remediation is available by upgrading affected packages to version 2.4.1.
CVE-2015-1426 at a Glance
How to Fix CVE-2015-1426
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 2.4.1
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-2015-1426, 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 2.4.1), 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 CWE-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. 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-2015-1426 Affected Facter Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
facter
|
RubyGems |
≥ 1.6.0
< 2.4.1
|
2.4.1
|
References
Frequently Asked Questions
What is CVE-2015-1426?
Which Facter versions are affected?
What version fixes CVE-2015-1426?
Is facter affected?
What CWE is associated with CVE-2015-1426?
How can I check RubyGems dependencies for CVE-2015-1426?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-j436-h7hm-rx46",
"modified" : "2023-06-07T15:07:38Z",
"published" : "2022-05-14T00:56:48Z",
"aliases" : [ "CVE-2015-1426" ],
"summary" : "Puppet Labs Facter allows local users to obtain sensitive Amazon EC2 IAM instance metadata",
"details" : "Puppet Labs Facter 1.6.0 through 2.4.0 allows local users to obtains sensitive Amazon EC2 IAM instance metadata by reading a fact for an Amazon EC2 node.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "RubyGems",
"name" : "facter"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.6.0"
}, {
"fixed" : "2.4.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2015-1426"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/puppetlabs/facter"
}, {
"type" : "WEB",
"url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/facter/CVE-2015-1426.yml"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20150906195742/http://puppetlabs.com/security/cve/cve-2015-1426"
}, {
"type" : "WEB",
"url" : "https://www.puppet.com/security/cve/cve-2015-1426-potential-sensitive-information-leakage-facters-amazon-ec2-metadata"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2023-06-07T15:07:38Z",
"nvd_published_at" : "2015-02-23T17:59:00Z"
}
}