Bug 1191538 (CVE-2015-1426)

Summary: CVE-2015-1426 facter: potential sensitive information leakage in Facter's Amazon EC2 metadata facts handling
Product: [Other] Security Response Reporter: Vasyl Kaigorodov <vkaigoro>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: abaron, aortega, apevec, ayoung, bkearney, bleanhar, cbillett, ccoleman, chrisw, cpelland, dallan, dmcphers, gkotton, jdetiber, jialiu, jkeck, joelsmith, jokerman, jose.p.oliveira.oss, katello-bugs, kseifried, lhh, lmeyer, lpeer, markmc, mastahnke, mmagr, mmccomas, mmccune, mrg-program-list, rbryant, rrati, sclewis, s, tjay, tmz, tomckay, vanmeeuwen+fedora, yeylon
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Facter 2.4.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-06 20:43:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1191555, 1191556    
Bug Blocks: 1191546    

Description Vasyl Kaigorodov 2015-02-11 13:26:57 UTC
An issue exists where sensitive Amazon EC2 IAM instance metadata could be added to an Amazon EC2 node's facts, where a non-privileged local user could access the information via Facter.

Although Amazon’s API allows anyone who can access an EC2 instance to view its instance metadata, facts containing sensitive EC2 instance metadata could be unintentionally exposed through off-host applications that display facts.

Upstream commit that fixes this:
https://github.com/puppetlabs/facter/commit/e546bc546e7fb23ad6b68fcf2059452df4d320dd

External References:

http://puppetlabs.com/security/cve/cve-2015-1426

Comment 1 Vasyl Kaigorodov 2015-02-11 13:49:30 UTC
Created facter tracking bugs for this issue:

Affects: fedora-all [bug 1191555]
Affects: epel-all [bug 1191556]

Comment 2 Kurt Seifried 2015-08-06 20:34:23 UTC
This only affects products using puppet/facter to directly interact with Amazon EC2 instances.

Comment 3 Kurt Seifried 2015-08-06 20:43:11 UTC
Statement:

This issue did not affect the versions of facter as shipped with various Red Hat products as they do not use puppet and facter to control Amazon EC2 instances directly.