CVE-2021-20227
Published: August 31, 2023Last modified: July 22, 2025
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.
Severity score breakdown
| Parameter | Value | 
|---|---|
| Base score | 5.5 | 
| Attack Vector | LOCAL | 
| Attack complexity | LOW | 
| Privileges required | LOW | 
| User interaction | NONE | 
| Scope | UNCHANGED | 
| Confidentiality | NONE | 
| Integrity impact | NONE | 
| Availability impact | HIGH | 
| Vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | 
Status
| Product | Release | Package | Status | 
|---|---|---|---|
| Alpaquita Linux | 23 LTS | sqlite | Not affected (3.40.1-r0) | 
| Stream | sqlite | Not affected (3.43.0-r0) | |
| Hardened Containers | 23 LTS | sqlite | Not affected (3.40.1-r0) | 
| Stream | sqlite | Not affected (3.43.0-r0) | 
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1924886
- https://security.gentoo.org/glsa/202103-04
- https://security.gentoo.org/glsa/202210-40
- https://security.netapp.com/advisory/ntap-20210423-0010/
- https://www.oracle.com//security-alerts/cpujul2021.html
- https://www.oracle.com/security-alerts/cpuApr2021.html
- https://www.oracle.com/security-alerts/cpuoct2021.html
- https://www.sqlite.org/releaselog/3_34_1.html