# CVE-2020-7942: Improper Certificate Validation in Puppet

- Severity: Medium 6.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.80%, higher than 57% of CVEs (2026-12-02)
- Published: 2020-02-19T20:52:03.000Z
- Modified: 2026-06-17T03:25:40.200Z
- Also known as: GHSA-gqvf-892r-vjm5
- Weaknesses: CWE-295
- Assigned by: puppet

## Description

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

(As written by CVE List.)

## Affected

- 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; from 5.5.0 before 5.5.19; from 6.0.0 before 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
- puppet (RubyGems): from 6.0.0 before 6.13.0; before 5.5.19
- puppet puppet_agent: from 5.5.0 before 5.5.19; from 6.0.0 before 6.13.0

## Every score

- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:P/I:N/A:N`

## References

- <https://puppet.com/security/cve/CVE-2020-7942/> (vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-7942> (advisory)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/puppet/CVE-2020-7942.yml> (web)
- <https://puppet.com/security/cve/CVE-2020-7942> (web)

## Sources

- CVE List: [CVE-2020-7942](https://www.cve.org/CVERecord?id=CVE-2020-7942), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-gqvf-892r-vjm5](https://github.com/advisories/GHSA-gqvf-892r-vjm5), CC-BY-4.0, modified 2024-02-22
- NVD: [CVE-2020-7942](https://nvd.nist.gov/vuln/detail/CVE-2020-7942), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-7942 · Whole record: https://cve.day/CVE-2020-7942.json · Rebuilt by cve.day 2026-11-25T22:57:50.938Z
