CVE-2020-7943
n/a Puppet Enterprise 2018.1.x stream: Incorrect Default Permissions
Check your servers for CVE-2020-7943
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2020-7943 affects puppetdb, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
Puppet Server and PuppetDB provide useful performance and debugging information via their metrics API endpoints. For PuppetDB this may contain things like hostnames. Puppet Server reports resource names and titles for defined types (which may contain sensitive information) as well as function names and class names. Previously, these endpoints were open to the local network. PE 2018.1.13 & 2019.5.0, Puppet Server 6.9.2 & 5.3.12, and PuppetDB 6.9.1 & 5.2.13 disable trapperkeeper-metrics /v1 metrics API and only allows /v2 access on localhost by default. This affects software versions: Puppet Enterprise 2018.1.x stream prior to 2018.1.13 Puppet Enterprise prior to 2019.5.0 Puppet Server prior to 6.9.2 Puppet Server prior to 5.3.12 PuppetDB prior to 6.9.1 PuppetDB prior to 5.2.13 Resolved in: Puppet Enterprise 2018.1.13 Puppet Enterprise 2019.5.0 Puppet Server 6.9.2 Puppet Server 5.3.12 PuppetDB 6.9.1 PuppetDB 5.2.13
Exploitation
EPSS 7.67%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 94.7% of all scored CVEs. Scores of 1 Dec 2026.
Weakness
- CWE-276 Incorrect Default Permissions
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
Puppet Enterprise 2018.1.x stream
n/a
|
affected prior to 2018.1.13
|
|
Puppet Enterprise
n/a
|
affected prior to 2019.5.0
|
|
Puppet Server
n/a
|
affected prior to 6.9.2 affected prior to 5.3.12
|
|
PuppetDB
n/a
|
affected prior to 6.9.1 affected prior to 5.2.13
|
|
Resolved in Puppet Enterprise, Puppet Server, PuppetDB
n/a
|
affected Puppet Enterprise 2018.1.13 and 2019.5.0 affected Puppet Server 6.9.2 and 5.3.12 affected PuppetDB 6.9.1 and 5.2.13
|
Is my server affected?
Find the installed version of puppetdb and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i puppetdb
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2020-7943 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2020-7943RHEL, Rocky, Alma, Fedora
rpm -q puppetdb
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2020-7943Alpine
apk list --installed | grep -i puppetdbWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2020-7943
trivy image --scanners vuln IMAGE | grep CVE-2020-7943
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
Source: the record CVE-2020-7943 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse