CVE-2021-27021
Puppet vulnerability analysis and mitigation

Overview

A flaw was discovered in Puppet DB (CVE-2021-27021) that results in an escalation of privileges which allows a user with read access to PuppetDB to delete tables via an SQL query. The vulnerability was disclosed on June 24, 2021, and affects multiple versions of Puppet DB, Puppet Enterprise, and Puppet Platform (Puppet Advisory).

Technical details

The vulnerability is classified as an SQL Injection (CWE-89) with a CVSS 3.1 Base Score of 8.8 (HIGH) with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. The vulnerability allows for improper neutralization of special elements used in SQL commands, enabling privilege escalation through malicious SQL queries (NVD).

Impact

The vulnerability enables users with read access to escalate their privileges and perform unauthorized database operations, specifically the ability to delete tables via SQL queries. This could lead to significant data loss and system integrity issues (Puppet Advisory).

Exploitability

The vulnerability requires network access and low privilege levels to exploit, with no user interaction needed. The attack complexity is considered low, making it relatively straightforward to exploit for attackers with basic access to the system (NVD).

Mitigation and workarounds

The vulnerability has been patched in multiple versions: Puppet DB 6.17.0 and 7.4.1, Puppet Enterprise 2019.8.7 and 2021.2, and Puppet Platform 6.23 and 7.8.0. Users are advised to upgrade to these or later versions to mitigate the vulnerability (Puppet Advisory).

Additional resources


SourceThis report was generated using AI

Related Puppet vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2023-5255HIGH7.5
  • Puppet logoPuppet
  • puppet
NoNoOct 03, 2023
CVE-2021-27025MEDIUM6.5
  • Ruby logoRuby
  • puppet
NoYesNov 18, 2021
CVE-2023-1894MEDIUM5.3
  • Puppet logoPuppet
  • libdb-utils-debuginfo
NoYesMay 04, 2023
CVE-2021-27026MEDIUM4.4
  • Puppet logoPuppet
  • puppet
NoYesNov 18, 2021
CVE-2026-66379MEDIUM4.3
  • Puppet logoPuppet
  • cpe:2.3:a:jfrog:artifactory
NoYesAug 12, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management