CVE-2020-7942Puppet
Medium 6.5
Follow: this CVE · Puppet · Puppet We alert you by email or Slack (account required).
- Priority
- 39
- CVSS 3.1
- 6.5
- EPSS
- 0.8% probability of exploitation in 30 days · percentile 58
- Auth required
- Yes
- Published
- Feb 19, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-295
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
What happens
Previously, Puppet operated on a model that a node with a valid certificate was entitled to all information in the system and that a compromised certificate allowed access to everything in the infrastructure. When a node's catalog falls back to the `default` node, the catalog can be retrieved for a different node by modifying facts for the Puppet run. This issue can be mitigated by setting `strict_hostname_checking = true` in `puppet.conf` on your Puppet master. Puppet 6.13.0 and 5.5.19 changes the default behavior for strict_hostname_checking from false to true. It is recommended that Puppet Open Source and Puppet Enterprise users that are not upgrading still set strict_hostname_checking to true to ensure secure behavior. Affected software versions: Puppet 6.x prior to 6.13.0 Puppet Agent 6.x prior to 6.13.0 Puppet 5.5.x prior to 5.5.19 Puppet Agent 5.5.x prior to 5.5.19 Resolved in: Puppet 6.13.0 Puppet Agent 6.13.0 Puppet 5.5.19 Puppet Agent 5.5.19
What to do
- Apply the vendor's security update for Puppet.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | puppet |
≥ 6.0.0 < 6.13.0 |
6.13.0 |
gem "puppet", ">= 6.13.0" |
| RubyGems | puppet |
< 5.5.19 |
5.5.19 |
gem "puppet", ">= 5.5.19" |
Per OSV / GitHub Advisories (GHSA-gqvf-892r-vjm5). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| puppet | puppet | ≥ 5.5.0 < 5.5.19 |
| puppet | puppet | ≥ 6.0.0 < 6.13.0 |
| puppet | puppet_agent | ≥ 5.5.0 < 5.5.19 |
| puppet | puppet_agent | ≥ 6.0.0 < 6.13.0 |
Official sources
References
Links published by the sources. Open them with care.
- puppet.com Vendor Advisory