{"api_version":"1","generated_at":"2026-04-22T19:18:06+00:00","cve":"CVE-2021-20227","urls":{"html":"https://cve.report/CVE-2021-20227","api":"https://cve.report/api/cve/CVE-2021-20227.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-20227","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-20227"},"summary":{"title":"CVE-2021-20227","description":"A flaw was found in SQLite's SELECT query functionality (src/select.c). This flaw allows an attacker who is capable of running SQL queries locally on the SQLite database to cause a denial of service or possible code execution by triggering a use-after-free. The highest threat from this vulnerability is to system availability.","state":"PUBLIC","assigner":"secalert@redhat.com","published_at":"2021-03-23 17:15:00","updated_at":"2022-11-16 18:58:00"},"problem_types":["CWE-416"],"metrics":[],"references":[{"url":"https://www.sqlite.org/releaselog/3_34_1.html","name":"https://www.sqlite.org/releaselog/3_34_1.html","refsource":"MISC","tags":[],"title":"SQLite Release 3.34.1 On 2021-01-20","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1924886","name":"https://bugzilla.redhat.com/show_bug.cgi?id=1924886","refsource":"MISC","tags":[],"title":"1924886 – (CVE-2021-20227) CVE-2021-20227 sqlite: potential use-after-free bug when processing  a subquery with both a correlated WHERE clause and a \"HAVING 0\" clause and where the parent query is an aggregate","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.oracle.com//security-alerts/cpujul2021.html","name":"N/A","refsource":"N/A","tags":[],"title":"Oracle Critical Patch Update Advisory - July 2021","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.oracle.com/security-alerts/cpuoct2021.html","name":"https://www.oracle.com/security-alerts/cpuoct2021.html","refsource":"MISC","tags":[],"title":"Oracle Critical Patch Update Advisory - October 2021","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://security.gentoo.org/glsa/202210-40","name":"GLSA-202210-40","refsource":"GENTOO","tags":[],"title":"SQLite: Multiple Vulnerabilities (GLSA 202210-40) — Gentoo security","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://security.gentoo.org/glsa/202103-04","name":"GLSA-202103-04","refsource":"GENTOO","tags":[],"title":"SQLite: Remote code execution (GLSA 202103-04) — Gentoo security","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://security.netapp.com/advisory/ntap-20210423-0010/","name":"https://security.netapp.com/advisory/ntap-20210423-0010/","refsource":"CONFIRM","tags":[],"title":"CVE-2021-20227 SQLite Vulnerability in NetApp Products | NetApp Product Security","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.oracle.com/security-alerts/cpuApr2021.html","name":"https://www.oracle.com/security-alerts/cpuApr2021.html","refsource":"MISC","tags":[],"title":"Oracle Critical Patch Update Advisory - April 2021","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-20227","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-20227","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"20227","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"oracle","cpe5":"communications_network_charging_and_control","cpe6":"6.0.1","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"20227","vulnerable":"1","versionEndIncluding":"12.0.4.0.0","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"oracle","cpe5":"communications_network_charging_and_control","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"20227","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"oracle","cpe5":"enterprise_manager_for_oracle_database","cpe6":"13.4.0.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"20227","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"oracle","cpe5":"jd_edwards_enterpriseone_tools","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"20227","vulnerable":"1","versionEndIncluding":"8.0.26","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"oracle","cpe5":"mysql_workbench","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"20227","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"oracle","cpe5":"outside_in_technology","cpe6":"8.5.5","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"20227","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"oracle","cpe5":"zfs_storage_appliance_kit","cpe6":"8.8","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"20227","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"sqlite","cpe5":"sqlite","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-20227","qid":"180441","title":"Debian Security Update for sqlite3 (CVE-2021-20227)"},{"cve":"CVE-2021-20227","qid":"296068","title":"Oracle Solaris 11.4 Support Repository Update (SRU) 34.94.4 Missing (CPUAPR2021)"},{"cve":"CVE-2021-20227","qid":"376204","title":"Mysql Workbench Critical Patch Update Oct 2021"},{"cve":"CVE-2021-20227","qid":"500655","title":"Alpine Linux Security Update for sqlite"},{"cve":"CVE-2021-20227","qid":"501783","title":"Alpine Linux Security Update for sqlite"},{"cve":"CVE-2021-20227","qid":"504423","title":"Alpine Linux Security Update for sqlite"},{"cve":"CVE-2021-20227","qid":"591406","title":"Siemens SIMATIC S7-1500 CPU GNU/Linux subsystem Multiple Vulnerabilities (SSB-439005, ICSA-22-104-13)"},{"cve":"CVE-2021-20227","qid":"670433","title":"EulerOS Security Update for sqlite (EulerOS-SA-2021-2067)"},{"cve":"CVE-2021-20227","qid":"670444","title":"EulerOS Security Update for sqlite (EulerOS-SA-2021-2056)"},{"cve":"CVE-2021-20227","qid":"710010","title":"Gentoo Linux SQLite Remote Code Execution Vulnerability (GLSA 202103-04)"},{"cve":"CVE-2021-20227","qid":"710670","title":"Gentoo Linux SQLite Multiple Vulnerabilities (GLSA 202210-40)"},{"cve":"CVE-2021-20227","qid":"900235","title":"CBL-Mariner Linux Security Update for sqlite 3.32.3"},{"cve":"CVE-2021-20227","qid":"903523","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for sqlite (4013)"}]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","CVE_data_meta":{"ID":"CVE-2021-20227","ASSIGNER":"secalert@redhat.com","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"vendor_name":"n/a","product":{"product_data":[{"product_name":"sqlite","version":{"version_data":[{"version_value":"sqlite 3.34.1"}]}}]}}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-416"}]}]},"references":{"reference_data":[{"refsource":"MISC","name":"https://bugzilla.redhat.com/show_bug.cgi?id=1924886","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1924886"},{"refsource":"MISC","name":"https://www.sqlite.org/releaselog/3_34_1.html","url":"https://www.sqlite.org/releaselog/3_34_1.html"},{"refsource":"GENTOO","name":"GLSA-202103-04","url":"https://security.gentoo.org/glsa/202103-04"},{"url":"https://www.oracle.com/security-alerts/cpuApr2021.html","refsource":"MISC","name":"https://www.oracle.com/security-alerts/cpuApr2021.html"},{"refsource":"CONFIRM","name":"https://security.netapp.com/advisory/ntap-20210423-0010/","url":"https://security.netapp.com/advisory/ntap-20210423-0010/"},{"url":"https://www.oracle.com//security-alerts/cpujul2021.html","refsource":"MISC","name":"https://www.oracle.com//security-alerts/cpujul2021.html"},{"url":"https://www.oracle.com/security-alerts/cpuoct2021.html","refsource":"MISC","name":"https://www.oracle.com/security-alerts/cpuoct2021.html"},{"refsource":"GENTOO","name":"GLSA-202210-40","url":"https://security.gentoo.org/glsa/202210-40"}]},"description":{"description_data":[{"lang":"eng","value":"A flaw was found in SQLite's SELECT query functionality (src/select.c). This flaw allows an attacker who is capable of running SQL queries locally on the SQLite database to cause a denial of service or possible code execution by triggering a use-after-free. The highest threat from this vulnerability is to system availability."}]}},"nvd":{"publishedDate":"2021-03-23 17:15:00","lastModifiedDate":"2022-11-16 18:58:00","problem_types":["CWE-416"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":5.5,"baseSeverity":"MEDIUM"},"exploitabilityScore":1.8,"impactScore":3.6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:N/I:N/A:P","accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"PARTIAL","baseScore":2.1},"severity":"LOW","exploitabilityScore":3.9,"impactScore":2.9,"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:sqlite:sqlite:*:*:*:*:*:*:*:*","versionStartIncluding":"3.33.0","versionEndExcluding":"3.34.1","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:oracle:outside_in_technology:8.5.5:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:oracle:communications_network_charging_and_control:6.0.1:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:oracle:zfs_storage_appliance_kit:8.8:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:oracle:jd_edwards_enterpriseone_tools:*:*:*:*:*:*:*:*","versionEndExcluding":"9.2.6.0","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:oracle:mysql_workbench:*:*:*:*:*:*:*:*","versionEndIncluding":"8.0.26","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:oracle:communications_network_charging_and_control:*:*:*:*:*:*:*:*","versionStartIncluding":"12.0.1.0","versionEndIncluding":"12.0.4.0.0","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:oracle:enterprise_manager_for_oracle_database:13.4.0.0:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"20227","Ordinal":"194268","Title":"CVE-2021-20227","CVE":"CVE-2021-20227","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"20227","Ordinal":"1","NoteData":"A flaw was found in SQLite's SELECT query functionality (src/select.c). This flaw allows an attacker who is capable of running SQL queries locally on the SQLite database to cause a denial of service or possible code execution by triggering a use-after-free. The highest threat from this vulnerability is to system availability.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"20227","Ordinal":"2","NoteData":"2021-03-23","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"20227","Ordinal":"3","NoteData":"2021-10-20","Type":"Other","Title":"Modified"}]}}}