CVE-2015-1426: Facter Puppet Labs Facter Allows Local Vulnerability

LOW
Advisory Identifier: GHSA-j436-h7hm-rx46
CWE-200
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2015-1426
GHSA Identifier GHSA-j436-h7hm-rx46
Severity LOW
CVSS v3.1 Base Score N/A
CWE Classification CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected Product Facter
Package Ecosystem RubyGems
Published Date
Last Updated

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.

facter fixed: 2.4.1
Upgrade facter to 2.4.1
Verify Direct and Transitive Dependencies

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

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.

CVE-2015-1426 Affected Facter Versions

1 component(s)
Fixed Versions:
2.4.1
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?
CVE-2015-1426 is a security vulnerability in Facter involving Puppet Labs Facter allows local users to obtain sensitive Amazon EC2 IAM instance metadata under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Which Facter versions are affected?
Affected versions include releases prior to 2.4.1 across affected packages: facter.
What version fixes CVE-2015-1426?
Upgrading to 2.4.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is facter affected?
Yes, facter is affected in releases prior to 2.4.1. Upgrade your dependency to 2.4.1 or later.
What CWE is associated with CVE-2015-1426?
CVE-2015-1426 is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor (The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.).
How can I check RubyGems dependencies for CVE-2015-1426?
Run the dependency tree command: 'inspect dependencies for facter'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}