{"id":"CVE-2021-27021","aliases":["DEBIAN-CVE-2021-27021","UBUNTU-CVE-2021-27021"],"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.","published_at":"2021-06-24T00:00:00Z","modified_at":"2026-10-23T18:04:50.094673Z","products":[{"slug":"puppet","name":"Puppet / OpenVox","category":"iac"}],"rating":{"severity":"high","score":8.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:H","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false,"red_hat":"Important","vendor_ratings":[{"source":"Ubuntu","rating":"medium"},{"source":"Red Hat","rating":"Important"}]},"fix_available":true,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.012620000168681145,"percentile":0.7026900053024292,"date":"2026-11-19T00:00:00Z"},"priority":10.9,"record_count":5,"vendors":["Red Hat","Debian","Ubuntu"],"details":"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.","affected_stack":[{"ecosystem":"Debian:12","package":"puppetdb","purl":"pkg:deb/debian/puppetdb?arch=source&distro=bookworm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.11.2-2"}]}],"fixed":["7.11.2-2"],"provider":"osv","source":"DEBIAN-CVE-2021-27021","relation":"self"},{"ecosystem":"Debian:13","package":"puppetdb","purl":"pkg:deb/debian/puppetdb?arch=source&distro=trixie","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.11.2-2"}]}],"fixed":["7.11.2-2"],"provider":"osv","source":"DEBIAN-CVE-2021-27021","relation":"self"}],"affected_other":[{"ecosystem":"NVD","package":"puppet:puppet","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.23.0"}]},{"type":"ECOSYSTEM","events":[{"introduced":"7.7.0"},{"fixed":"7.8.0"}]}],"fixed":["6.23.0","7.8.0"],"provider":"nvd","source":"CVE-2021-27021","relation":"self"},{"ecosystem":"NVD","package":"puppet:puppet_enterprise","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2019.8.7"}]},{"type":"ECOSYSTEM","events":[{"introduced":"2021.0.0"},{"fixed":"2021.2.0"}]}],"fixed":["2019.8.7","2021.2.0"],"provider":"nvd","source":"CVE-2021-27021","relation":"self"},{"ecosystem":"NVD","package":"puppet:puppetdb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.17.0"}]},{"type":"ECOSYSTEM","events":[{"introduced":"7.0.0"},{"fixed":"7.4.1"}]}],"fixed":["6.17.0","7.4.1"],"provider":"nvd","source":"CVE-2021-27021","relation":"self"},{"ecosystem":"Ubuntu:22.04:LTS","package":"puppetdb","purl":"pkg:deb/ubuntu/puppetdb@6.2.0-5?arch=source&distro=jammy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.2.0-5"],"provider":"osv","source":"UBUNTU-CVE-2021-27021","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Red Hat OpenStack Platform 10 (Newton)","cpe":"cpe:/a:redhat:openstack:10","status":"not_affected","packages":["puppet","puppet-server"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-27021"},{"vendor":"Red Hat","product":"Red Hat OpenStack Platform 13 (Queens)","cpe":"cpe:/a:redhat:openstack:13","status":"not_affected","packages":["puppet","puppet-server"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-27021"},{"vendor":"Red Hat","product":"Red Hat OpenStack Platform 16.1","cpe":"cpe:/a:redhat:openstack:16.1","status":"not_affected","packages":["puppet","puppet-headless","puppet-server"],"package_count":3,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-27021"},{"vendor":"Red Hat","product":"Red Hat OpenStack Platform 16.2","cpe":"cpe:/a:redhat:openstack:16.2","status":"not_affected","packages":["puppet","puppet-headless","puppet-server"],"package_count":3,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-27021"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2021-27021","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2021-27021","license":"CC-BY-4.0","published_at":"2021-07-20T10:44:49Z","modified_at":"2024-08-03T20:40:47.02Z","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.","details":"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.","severity":[],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://puppet.com/security/cve/cve-2021-27021/"}]},{"provider":"nvd","source_id":"CVE-2021-27021","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-27021","severity":[],"affected":[{"ecosystem":"NVD","package":"puppet:puppet","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.23.0"}]},{"type":"ECOSYSTEM","events":[{"introduced":"7.7.0"},{"fixed":"7.8.0"}]}],"fixed":["6.23.0","7.8.0"],"provider":"nvd","source":"CVE-2021-27021","relation":"self"},{"ecosystem":"NVD","package":"puppet:puppet_enterprise","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2019.8.7"}]},{"type":"ECOSYSTEM","events":[{"introduced":"2021.0.0"},{"fixed":"2021.2.0"}]}],"fixed":["2019.8.7","2021.2.0"],"provider":"nvd","source":"CVE-2021-27021","relation":"self"},{"ecosystem":"NVD","package":"puppet:puppetdb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.17.0"}]},{"type":"ECOSYSTEM","events":[{"introduced":"7.0.0"},{"fixed":"7.4.1"}]}],"fixed":["6.17.0","7.4.1"],"provider":"nvd","source":"CVE-2021-27021","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"DEBIAN-CVE-2021-27021","relation":"self","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2021-27021","published_at":"2021-07-20T11:15:11.63Z","modified_at":"2026-10-23T18:04:50.094673Z","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"DEBIAN-CVE-2021-27021"}],"affected":[{"ecosystem":"Debian:12","package":"puppetdb","purl":"pkg:deb/debian/puppetdb?arch=source&distro=bookworm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.11.2-2"}]}],"fixed":["7.11.2-2"],"provider":"osv","source":"DEBIAN-CVE-2021-27021","relation":"self"},{"ecosystem":"Debian:13","package":"puppetdb","purl":"pkg:deb/debian/puppetdb?arch=source&distro=trixie","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.11.2-2"}]}],"fixed":["7.11.2-2"],"provider":"osv","source":"DEBIAN-CVE-2021-27021","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2021-27021"}]},{"provider":"osv","source_id":"UBUNTU-CVE-2021-27021","relation":"self","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2021-27021","license":"CC-BY-SA-4.0","published_at":"2021-07-20T11:15:00Z","modified_at":"2025-09-08T16:47:02Z","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"UBUNTU-CVE-2021-27021"},{"type":"Ubuntu","score":"medium","source":"UBUNTU-CVE-2021-27021"}],"affected":[{"ecosystem":"Ubuntu:22.04:LTS","package":"puppetdb","purl":"pkg:deb/ubuntu/puppetdb@6.2.0-5?arch=source&distro=jammy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.2.0-5"],"provider":"osv","source":"UBUNTU-CVE-2021-27021","relation":"self"}],"product_status":[],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-27021"},{"type":"REPORT","url":"https://puppet.com/security/cve/cve-2021-27021/"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-27021"}]},{"provider":"redhat-vex","source_id":"CVE-2021-27021","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2021-27021","license":"CC-BY-4.0","published_at":"2021-06-24T00:00:00Z","modified_at":"2021-10-28T18:07:23Z","summary":"puppet: SQL injection","details":"A flaw was discovered in puppet. An escalation of privileges which allows the user to delete tables via an SQL query is possible in Puppet DB. The highest threat from this vulnerability is to system availability and integrity.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:H","source":"CVE-2021-27021"},{"type":"Red Hat","score":"Important","source":"CVE-2021-27021"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat OpenStack Platform 10 (Newton)","cpe":"cpe:/a:redhat:openstack:10","status":"not_affected","packages":["puppet","puppet-server"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-27021"},{"vendor":"Red Hat","product":"Red Hat OpenStack Platform 13 (Queens)","cpe":"cpe:/a:redhat:openstack:13","status":"not_affected","packages":["puppet","puppet-server"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-27021"},{"vendor":"Red Hat","product":"Red Hat OpenStack Platform 16.1","cpe":"cpe:/a:redhat:openstack:16.1","status":"not_affected","packages":["puppet","puppet-headless","puppet-server"],"package_count":3,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-27021"},{"vendor":"Red Hat","product":"Red Hat OpenStack Platform 16.2","cpe":"cpe:/a:redhat:openstack:16.2","status":"not_affected","packages":["puppet","puppet-headless","puppet-server"],"package_count":3,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-27021"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-27021.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2021-27021"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1976314"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2021-27021"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-27021"},{"type":"WEB","url":"https://puppet.com/security/cve/cve-2021-27021/"}]}],"references":[{"type":"WEB","url":"https://puppet.com/security/cve/cve-2021-27021/"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2021-27021"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-27021"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-27021"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-27021.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2021-27021"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1976314"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-27021"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2021-27021","url":"https://www.cve.org/CVERecord?id=CVE-2021-27021","license":"CC-BY-4.0","modified_at":"2024-08-03T20:40:47.02Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2021-27021","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-27021","relation":"self"},{"provider":"osv","source_id":"DEBIAN-CVE-2021-27021","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2021-27021","modified_at":"2026-10-23T18:04:50.094673Z","relation":"self"},{"provider":"osv","source_id":"UBUNTU-CVE-2021-27021","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2021-27021","license":"CC-BY-SA-4.0","modified_at":"2025-09-08T16:47:02Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2021-27021","url":"https://access.redhat.com/security/cve/CVE-2021-27021","license":"CC-BY-4.0","modified_at":"2021-10-28T18:07:23Z","relation":"self"}]}
