Skip to content
Fencer Intel
high 8.8

CVE-2021-27021 json

A flaw was discovered in Puppet DB, this flaw results in an escalation of privileges which allows the user to delete tables via an SQL quer…

published 5y ago modified 4mo ago also EUVD-2021-13794

cvss
8.8
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.3%
EPSS 1.3% chance of exploitation in 30 days, percentile 69%
public exploits
0
none known

Summary

A flaw was discovered in Puppet DB, this flaw results in an escalation of privileges which allows the user to delete tables via an SQL query.

Patch / fix

  • puppet puppet 6.23.0, 7.8.0
  • puppet puppet_enterprise 2019.8.7, 2021.2.0
  • puppet puppetdb 6.17.0, 7.4.1
  • puppetdb Debian 13, Debian 12 7.11.2-2

debian advisories DEBIAN-CVE-2021-27021

  • puppet Arch Linux 6.23.0-1

arch linux advisories AVG-2105

Is CVE-2021-27021 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2021-27021 updated cvss 8.9

puppet: SQL injection

  • Red Hat OpenStack Platform 10 (Newton) puppet, puppet-server Red Hat OpenStack Platform 13 (Queens) puppet, puppet-server Red Hat OpenStack Platform 16.1 puppet, puppet-server, puppet-headless Red Hat OpenStack Platform 16.2 puppet, puppet-server, puppet-headless
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

1.26% chance of exploitation in the next 30 days, higher than 69% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 6.5 AV:N/AC:L/Au:S/C:P/I:P/A:P

Affected products

  • n/a Puppet DB

Classification

Weakness
  • CWE-1027 OWASP Top Ten 2017 Category A1 - Injection
  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.