cve.bz

CVE-2020-7942 puppet: Improper Certificate Validation

6.5 mediumEPSS 0.8%Fix available

Medium (6.5) in puppet. EPSS 0.8% estimated probability of exploitation activity in the next 30 days. Fixed in puppet 5.5.19, 6.13.0.

On this page
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

Severity

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
EPSS
0.8% (unchanged from 0.8% a week ago; 0.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 58th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-295 Improper Certificate Validation
OWASP Top 10
A07:2025 Authentication Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-7942 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-7942?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-7942?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-7942 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
puppet:puppetfrom 5.5.0 before 5.5.19
puppet:puppetfrom 6.0.0 before 6.13.0
puppet:puppet_agentfrom 5.5.0 before 5.5.19
puppet:puppet_agentfrom 6.0.0 before 6.13.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-gqvf-892r-vjm5RubyGemspuppet>=6.0.0 <6.13.06.13.0
GHSA-gqvf-892r-vjm5RubyGemspuppet<5.5.195.5.19

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11puppetno fix listedDEBIAN-CVE-2020-7942
Red Hatsatellite:6.8::el7createrepo_c, createrepo_c-libs, createrepo_c-debuginfo and 1 more0:0.7.4-1.el7satRHSA-2020:4366
Red Hatsatellite:6.8::el7keycloak-httpd-client-install, python2-keycloak-httpd-client-install0:1.2.2-1.el7satRHSA-2020:4366
Red Hatsatellite:6.8::el7pcp-mmvstatsd0:0.4-2.el7satRHSA-2020:4366
Red Hatsatellite:6.8::el7python-idna-ssl, python3-idna-ssl0:1.1.0-2.el7arRHSA-2020:4366
Red Hatsatellite:6.8::el7python-prometheus-client, python3-prometheus-client0:0.7.1-2.el7arRHSA-2020:4366
Red Hatsatellite:6.8::el7python-receptor-satellite, python3-receptor-satellite0:1.2.0-1.el7satRHSA-2020:4366
Red Hatsatellite:6.8::el7python-six, python3-six0:1.11.0-8.el7arRHSA-2020:4366
Red Hatsatellite:6.8::el7python-yarl, python3-yarl, python-yarl-debuginfo0:1.4.2-2.el7arRHSA-2020:4366
Red Hatsatellite:6.8::el7qpid-cpp, qpid-qmf, qpid-tools and 6 more0:1.36.0-28.el7amqRHSA-2020:4366
Red Hatsatellite:6.8::el7receptor0:0.6.3-1.el7arRHSA-2020:4366
Red Hatsatellite:6.8::el7rhel8-kickstart-setup, rh-postgresql12-postgresql-evr0:0.0.2-1.el7satRHSA-2020:4366
Red Hatsatellite:6.8::el7rubygem-fast_gettext, tfm-rubygem-rack-test0:1.1.0-4.el7satRHSA-2020:4366
188 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise Module for Advanced Systems Management 12puppet3.8.5-15.12.1SUSE-SU-2020:1057-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat · SUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

In Red Hat OpenStack Platform, Puppet is invoked as a standalone component (puppet master is not run). This means that although the vulnerable code might be present, it is not used, resulting in a lowered impact rating and no update will be provided at this time.

Red Hat's mitigation

In the puppet.conf configuration file set `strict_hostname_checking = true`.

ProductPackageStateAdvisory
Red Hat Satellite 6.8 for RHEL 7ansible-collection-redhat-satellite-0:1.3.0-1.el7satFixed 2020-10-27RHSA-2020:4366
Red Hat Satellite 6.8 for RHEL 7ansiblerole-foreman_scap_client-0:0.0.5-1.el7satFixed 2020-10-27RHSA-2020:4366
Red Hat Satellite 6.8 for RHEL 7ansiblerole-insights-client-0:1.7.1-1.el7satFixed 2020-10-27RHSA-2020:4366
Red Hat Satellite 6.8 for RHEL 7ansiblerole-satellite-receptor-installer-0:0.6.13-1.el7satFixed 2020-10-27RHSA-2020:4366
Red Hat Satellite 6.8 for RHEL 7ansible-runner-0:1.4.6-1.el7arFixed 2020-10-27RHSA-2020:4366
Red Hat Satellite 6.8 for RHEL 7candlepin-0:3.1.21-1.el7satFixed 2020-10-27RHSA-2020:4366
Red Hat Satellite 6.8 for RHEL 7createrepo_c-0:0.7.4-1.el7satFixed 2020-10-27RHSA-2020:4366
Red Hat Satellite 6.8 for RHEL 7foreman-0:2.1.2.19-1.el7satFixed 2020-10-27RHSA-2020:4366
Red Hat Satellite 6.8 for RHEL 7foreman-bootloaders-redhat-0:202005201200-1.el7satFixed 2020-10-27RHSA-2020:4366
Red Hat Satellite 6.8 for RHEL 7foreman-discovery-image-0:3.6.7-1Fixed 2020-10-27RHSA-2020:4366
Red Hat Satellite 6.8 for RHEL 7foreman-discovery-image-service-0:1.0.0-3.el7satFixed 2020-10-27RHSA-2020:4366
Red Hat Satellite 6.8 for RHEL 7foreman-installer-1:2.1.2.8-1.el7satFixed 2020-10-27RHSA-2020:4366
Red Hat Satellite 6.8 for RHEL 7foreman-proxy-0:2.1.2-2.el7satFixed 2020-10-27RHSA-2020:4366
Red Hat Satellite 6.8 for RHEL 7foreman-selinux-0:2.1.2.3-1.el7satFixed 2020-10-27RHSA-2020:4366
Red Hat OpenStack Platform 10 (Newton)puppetOut of support scope
Red Hat OpenStack Platform 13 (Queens)puppetWill not fix
Red Hat OpenStack Platform 15 (Stein)puppetWill not fix
Red Hat OpenStack Platform 16.1puppetWill not fix
Red Hat OpenStack Platform 16.2puppetWill not fix
Red Hat Update Infrastructure 3 for Cloud ProviderspuppetFix deferred
365 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-7942.

Attack patterns (CAPEC)

  • CAPEC-459 Creating a Rogue Certification Authority Certificate Likelihood: Medium · Severity: Very High
  • CAPEC-475 Signature Spoofing by Improper Validation Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON