Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2020-7942

MEDIUM 6.5EPSS 53%

Improper Certificate Validation in Puppet

Also known as GHSA-gqvf-892r-vjm5

Mitigation

  • Upgrade puppet to one of 6.13.0, 5.5.19 (or later in the same release line).

Who should check

  • Projects that depend on RubyGems package puppet (>= 6.0.0, < 6.13.0)
  • Anyone running 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
  • Anyone running 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

Vulnerability facts

Affected
puppet >= 6.0.0, < 6.13.0
Fixed in
6.13.0, 5.5.19
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, login needed
CVSS
6.5 (v3.1, NVD)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: None
  • Availability impact: None
EPSS
0.80% chance of exploitation in 30 days (percentile 53, 2026-11-26)
CWE
CWE-295
Published
Modified

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

Affected and fixed versions

Package / productAffectedFixedSource
RubyGems puppet>= 6.0.0, < 6.13.06.13.0, 5.5.19osv
Puppet5.5.x prior to 5.5.19; Fixed in 5.5.19; 6.x prior to 6.13.0; Fixed in 6.13.0—cvelist
Puppet Agent5.5.x prior to 5.5.19; Fixed in 5.5.19; 6.x prior to 6.13.0; Fixed in 6.13.0—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2020-7942. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2020-7942.md
Affected: puppet >= 6.0.0, < 6.13.0
Fixed in: 6.13.0, 5.5.19

Steps:
1. Search this machine and project for puppet (RubyGems), Puppet, Puppet Agent: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2020-7942 being exploited?

There is no confirmed exploitation: CVE-2020-7942 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.80% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2020-7942?

Medium: CVSS 6.5 (v3.1, scored by NVD). Remote, login needed.

Which versions are affected by CVE-2020-7942?

puppet >= 6.0.0, < 6.13.0.

Is there a fix for CVE-2020-7942?

Yes. Fixed in 6.13.0, 5.5.19. Upgrade puppet to one of 6.13.0, 5.5.19 (or later in the same release line).

How do I check if I'm affected by CVE-2020-7942?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors