Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: 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

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-7942
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 07:25 UTC · Revision 1

Source evidence

CVE-2020-7942

core-osv · Original source

Published 19 Feb 2020, 21:15 UTC

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

osv:CVE-2020-7942
Complete source record
{
  "id": "843238190f6fa8f77067326375a7e67223bcc24c706dd9e166119d85c89ee5c7",
  "url": "https://osv.dev/vulnerability/CVE-2020-7942",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-7942",
    "summary": "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",
    "evidence": "osv:CVE-2020-7942",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2020-7942",
      "aliases": [
        "CVE-2020-7942",
        "GHSA-gqvf-892r-vjm5"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/puppetlabs/puppet",
              "type": "GIT",
              "events": [
                {
                  "introduced": "ceec9d2b6ab716cf90c2f8f4384632ebd1afc338"
                },
                {
                  "fixed": "3464ca6e1ef3ff3a5cbdb0f4cf70417286cc1407"
                },
                {
                  "introduced": "06ad255754a38f22fb3a22c7c4f1e2ce453d01cb"
                },
                {
                  "fixed": "102680c80f24517344763759ea849264efd237cc"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:puppet:puppet:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "5.5.0"
                      },
                      {
                        "fixed": "5.5.19"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:puppet:puppet:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "6.0.0"
                      },
                      {
                        "fixed": "6.13.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-7942.json"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://github.com/puppetlabs/puppet-agent",
              "type": "GIT",
              "events": [
                {
                  "introduced": "b751de70df995fc1a19f279311df406888bb7031"
                },
                {
                  "fixed": "9ec85f17dd7d64ea568c5b27dbad9e983b4244e9"
                },
                {
                  "introduced": "824456d7fb443ae27899f1687a604777bb991045"
                },
                {
                  "fixed": "242c2bfa65219a6227780126d57fd7de86c33674"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:puppet:puppet:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "5.5.0"
                      },
                      {
                        "fixed": "5.5.19"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:puppet:puppet_agent:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "5.5.0"
                      },
                      {
                        "fixed": "5.5.19"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:puppet:puppet:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "6.0.0"
                      },
                      {
                        "fixed": "6.13.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:puppet:puppet_agent:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "6.0.0"
                      },
                      {
                        "fixed": "6.13.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-7942.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:53.200140123Z",
      "provider": "osv",
      "references": [
        "https://puppet.com/security/cve/CVE-2020-7942/"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:puppet:puppet_agent:*:*:*:*:*:*:*:*"
            ],
            "vendor_product": "puppet:puppet_agent",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "5.5.0"
                  },
                  {
                    "fixed": "5.5.19"
                  },
                  {
                    "introduced": "6.0.0"
                  },
                  {
                    "fixed": "6.13.0"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2020-7942",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 437862,
  "published_at": "2020-02-19T21:15:11.747+00:00"
}