Puppet Labs Facter allows local users to obtain sensitive Amazon EC2 IAM instance metadataGHSA-j436-h7hm-rx46
GHSA-j436-h7hm-rx46 is a Information Exposure vulnerability in facter. A fix is available for facter — see the affected versions and patch details below.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
Real-World Exposure
facterReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects RubyGems packages — download data is not available via public APIs for these ecosystems.
Description
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.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 💎RubyGems | facter | ≥ 1.6.0&&< 2.4.1 | 2.4.1bundle update facter --conservative |
Affected Products
facterpuppetfacterpuppetlabsDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for facter, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update facter to 2.4.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-j436-h7hm-rx46 is resolved across your whole dependency graph.
Workarounds
Assume what was exposed is already known: rotate any credential, token or key that the affected component could return, restrict the endpoint to callers that genuinely need it, and strip sensitive fields from responses and error output at the boundary rather than relying on the client not to read them.
Frequently Asked Questions
Is GHSA-j436-h7hm-rx46 in your dependencies?
Find it across RubyGems, including transitive dependencies.