SQL injection in Puppet DB
Priority MEDIUM 41CWE-1027Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- SQL injection
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-89.
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.
Why it matters now
EPSS 0.01262 69th percentileScored 2026-11-07
Fix No fix listed No fixed version in the sources yet
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | Puppet DB | All prior versions before Puppet DB 6.17.0, 7.4.1, Puppet Platform 6.23, 7.8.0 and PE 2021.2, 2019.8.7 | — | No fix listed | CNA |
- Puppet DB Vendor— Affected All prior versions before Puppet DB 6.17.0, 7.4.1, Puppet Platform 6.23, 7.8.0 and PE 2021.2, 2019.8.7 Fixed in — No fix listed CNA
CPE configurations NVD · 3
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:puppet:puppet:*:*:*:*:*:*:*:* | before 6.23.0; 7.7.0 to before 7.8.0 | Vulnerable | Puppet |
| cpe:2.3:a:puppet:puppet_enterprise:*:*:*:*:*:*:*:* | before 2019.8.7; 2021.0.0 to before 2021.2.0 | Vulnerable | Puppet |
| cpe:2.3:a:puppet:puppetdb:*:*:*:*:*:*:*:* | before 6.17.0; 7.0.0 to before 7.4.1 | Vulnerable | Puppet |
- cpe:2.3:a:puppet:puppet:*:*:*:*:*:*:*:* Versions before 6.23.0; 7.7.0 to before 7.8.0 Vulnerable ·Puppet
- cpe:2.3:a:puppet:puppet_enterprise:*:*:*:*:*:*:*:* Versions before 2019.8.7; 2021.0.0 to before 2021.2.0 Vulnerable ·Puppet
- cpe:2.3:a:puppet:puppetdb:*:*:*:*:*:*:*:* Versions before 6.17.0; 7.0.0 to before 7.4.1 Vulnerable ·Puppet
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
Not affected: 4 products
- Red Hat OpenStack Platform 10 (Newton)
- Red Hat OpenStack Platform 13 (Queens)
- Red Hat OpenStack Platform 16.1
- Red Hat OpenStack Platform 16.2
Timeline
- 2026-10-02 Threatist record created from CVE-2021-27021
- 2026-10-03 Alias added: GHSA-j664-pgf6-rhhh
References
More Puppet vulnerabilities
- TI-2016-02327 Puppet Server before 2.3.2 and Ruby puppetmaster in Puppet 4.x before 4.4.2 and in Puppet… CVSS 3.1CRITICAL 9.8
- TI-2013-01442 The (1) template and (2) inline_template functions in the master server in Puppet before… CVSS 2.0HIGH 9.0
- TI-2017-01576 Deserialization of untrusted data in Puppet server CVSS 3.0HIGH 8.2
- TI-2018-04793 Untrusted search path in Puppet Enterprise and Puppet Agent CVSS 3.0HIGH 8.8
- TI-2013-01456 Puppet 2.7.x before 2.7.21 and 3.1.x before 3.1.1, when running Ruby 1.9.3 or later… CVSS 2.0HIGH 7.5
- TI-2013-01454 Puppet before 2.6.18, 2.7.x before 2.7.21, and 3.1.x before 3.1.1, and Puppet Enterprise… CVSS 2.0HIGH 7.1
Sources
- CVE-2021-27021 · CVE Program
- CVE-2021-27021 · NVD
- FIRST EPSS
- GHSA-j664-pgf6-rhhh · GitHub Advisory Database · CC BY 4.0
- CVE-2021-27021 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences