Home / Puppet / Puppet / CVE-2020-7942
CVE-2020-7942: is it exploited, and which versions of Puppet are affected and fixed?
CVE-2020-7942 is an improper certificate validation vulnerability in Puppet. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:08 UTC). Affected: puppet from 6.0.0 before 6.13.0 and puppet before 5.5.19 (GitHub advisory GHSA-gqvf-892r-vjm5). Fixed in 6.13.0 and 5.5.19 (GitHub advisory GHSA-gqvf-892r-vjm5). Severity: Medium (6.5, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:08 UTC, CVE record November 19, 2026, 07:16 UTC and NVD November 19, 2026, 08:15 UTC.
What is CVE-2020-7942?
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
From the CVE record by puppet, last updated August 4, 2024, 09:48 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Puppet | Puppet | 5.5.x prior to 5.5.19 Fixed in 5.5.19 6.x prior to 6.13.0 Fixed in 6.13.0 | |
| Puppet | Puppet Agent | 5.5.x prior to 5.5.19 Fixed in 5.5.19 6.x prior to 6.13.0 Fixed in 6.13.0 |
As the CVE record by puppet states it, last updated August 4, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| RubyGems | puppet | >= 6.0.0, < 6.13.0 | 6.13.0 | GHSA-gqvf-892r-vjm5 |
| RubyGems | puppet | < 5.5.19 | 5.5.19 | GHSA-gqvf-892r-vjm5 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated July 5, 2023. Summary: Improper Certificate Validation in Puppet.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| puppet | puppet | from 5.5.0 before 5.5.19 | application |
| puppet | puppet | from 6.0.0 before 6.13.0 | application |
| puppet | puppet agent | from 5.5.0 before 5.5.19 | application |
| puppet | puppet agent | from 6.0.0 before 6.13.0 | application |
NVD analysis (status Modified), last modified June 17, 2026, 03:25 UTC.
How severe is CVE-2020-7942?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N | NVD |
| Medium 4.0 | CVSS 2.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2020-7942 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.80% probability of exploitation activity in the next 30 days, percentile 57.8 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-295 Improper Certificate Validation
Where are the vendor advisories and references?
- https://puppet.com/security/cve/CVE-2020-7942/ x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- January 23, 2020
- Published
- February 19, 2020, 20:52 UTC
- CVE record updated
- August 4, 2024, 09:48 UTC by puppet
- NVD
- Modified, last modified June 17, 2026, 03:25 UTC
- Last checked
- CVE list November 19, 2026, 07:16 UTC; NVD November 19, 2026, 08:15 UTC; KEV December 3, 2026, 12:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Puppet?
- Dec 11, 2017CVE-2014-3250 Puppet: improper certificate validation
- Jun 10, 2016CVE-2016-2785 Puppet: improper access control
- Nov 16, 2014CVE-2014-3248 Puppet Facter: n/a
- Feb 17, 2014CVE-2011-0528 Puppet: improper access control
- Aug 20, 2013CVE-2013-4956 Puppet: n/a
- Aug 20, 2013CVE-2013-4761 Puppet: n/a
- Aug 19, 2013CVE-2013-3567 Puppet: improper input validation
- Mar 20, 2013CVE-2013-2275 Puppet: n/a
Questions about CVE-2020-7942
Is CVE-2020-7942 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:08 UTC. FIRST's EPSS gives it a 0.80% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Puppet are affected by CVE-2020-7942?
puppet from 6.0.0 before 6.13.0 and puppet before 5.5.19, per the GitHub advisory GHSA-gqvf-892r-vjm5. The tables above give every range the sources list.
Which version fixes CVE-2020-7942?
6.13.0 and 5.5.19, per the GitHub advisory GHSA-gqvf-892r-vjm5. Check the vendor's advisory before you rely on it.
How severe is CVE-2020-7942?
Medium (6.5, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2020-7942?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.