Vulnerability · Published Mar 23, 2021 · Assigned by redhat
CVE-2021-20227
Medium 5.5
In plain English
A medium-severity use-after-free in sqlite. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 52% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)5.5Medium
Exploit odds (30 days)0.7%top 48.5% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | sqlite | 3.34.1-r0 | ALPINE-CVE-2021-20227 |
| Alpine:v3.21 | sqlite | 3.34.1-r0 | ALPINE-CVE-2021-20227 |
| Alpine:v3.22 | sqlite | 3.34.1-r0 | ALPINE-CVE-2021-20227 |
| Alpine:v3.23 | sqlite | 3.34.1-r0 | ALPINE-CVE-2021-20227 |
| Alpine:v3.24 | sqlite | 3.34.1-r0 | ALPINE-CVE-2021-20227 |
| Debian:12 | sqlite3 | 3.34.1-1 | DEBIAN-CVE-2021-20227 |
| Debian:13 | sqlite3 | 3.34.1-1 | DEBIAN-CVE-2021-20227 |
| Debian:14 | sqlite3 | 3.34.1-1 | DEBIAN-CVE-2021-20227 |
Affected products (as reported)
Weakness: CWE-416
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1924886
- https://www.sqlite.org/releaselog/3_34_1.html
- GLSA-202103-04 vendor-advisory
- https://www.oracle.com/security-alerts/cpuApr2021.html
- https://security.netapp.com/advisory/ntap-20210423-0010/
- https://www.oracle.com//security-alerts/cpujul2021.html
- https://www.oracle.com/security-alerts/cpuoct2021.html
- GLSA-202210-40 vendor-advisory
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html