{"api_version":"1","generated_at":"2026-04-22T21:27:42+00:00","cve":"CVE-2021-27021","urls":{"html":"https://cve.report/CVE-2021-27021","api":"https://cve.report/api/cve/CVE-2021-27021.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-27021","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-27021"},"summary":{"title":"CVE-2021-27021","description":"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.","state":"PUBLIC","assigner":"security@puppet.com","published_at":"2021-07-20 11:15:00","updated_at":"2022-01-24 16:46:00"},"problem_types":["CWE-89"],"metrics":[],"references":[{"url":"https://puppet.com/security/cve/cve-2021-27021/","name":"https://puppet.com/security/cve/cve-2021-27021/","refsource":"MISC","tags":[],"title":"CVE-2021-27021 - SQL Injection | Puppet","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-27021","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-27021","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"27021","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"puppet","cpe5":"puppet","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"27021","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"puppet","cpe5":"puppet","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"enterprise","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"27021","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"puppet","cpe5":"puppetdb","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"27021","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"puppet","cpe5":"puppet_enterprise","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-27021","qid":"182635","title":"Debian Security Update for puppetdb (CVE-2021-27021)"},{"cve":"CVE-2021-27021","qid":"375796","title":"Puppet Enterprise,Puppet Platform and Puppetdb SQL injection Vulnerability"},{"cve":"CVE-2021-27021","qid":"690098","title":"Free Berkeley Software Distribution (FreeBSD) Security Update for puppetdb (41bc849f-d5ef-11eb-ae37-589cfc007716)"}]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","CVE_data_meta":{"ID":"CVE-2021-27021","ASSIGNER":"security@puppet.com","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"vendor_name":"n/a","product":{"product_data":[{"product_name":"Puppet DB","version":{"version_data":[{"version_value":"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"}]}}]}}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"[CWE-1027|https://cwe.mitre.org/data/definitions/1027.html]"}]}]},"references":{"reference_data":[{"refsource":"MISC","name":"https://puppet.com/security/cve/cve-2021-27021/","url":"https://puppet.com/security/cve/cve-2021-27021/"}]},"description":{"description_data":[{"lang":"eng","value":"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."}]}},"nvd":{"publishedDate":"2021-07-20 11:15:00","lastModifiedDate":"2022-01-24 16:46:00","problem_types":["CWE-89"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:S/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"SINGLE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":6.5},"severity":"MEDIUM","exploitabilityScore":8,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:puppet:puppet:*:*:*:*:*:*:*:*","versionStartIncluding":"7.7.0","versionEndExcluding":"7.8.0","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:puppet:puppetdb:*:*:*:*:*:*:*:*","versionStartIncluding":"7.0.0","versionEndExcluding":"7.4.1","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:puppet:puppet:*:*:*:*:*:*:*:*","versionEndExcluding":"6.23.0","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:puppet:puppetdb:*:*:*:*:*:*:*:*","versionEndExcluding":"6.17.0","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:puppet:puppet_enterprise:*:*:*:*:*:*:*:*","versionEndExcluding":"2019.8.7","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:puppet:puppet_enterprise:*:*:*:*:*:*:*:*","versionStartIncluding":"2021.0.0","versionEndExcluding":"2021.2.0","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"27021","Ordinal":"202105","Title":"CVE-2021-27021","CVE":"CVE-2021-27021","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"27021","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"27021","Ordinal":"2","NoteData":"2021-07-20","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"27021","Ordinal":"3","NoteData":"2021-07-20","Type":"Other","Title":"Modified"}]}}}