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

EcosystemPackageFixed inAdvisory
Alpine:v3.20sqlite3.34.1-r0ALPINE-CVE-2021-20227
Alpine:v3.21sqlite3.34.1-r0ALPINE-CVE-2021-20227
Alpine:v3.22sqlite3.34.1-r0ALPINE-CVE-2021-20227
Alpine:v3.23sqlite3.34.1-r0ALPINE-CVE-2021-20227
Alpine:v3.24sqlite3.34.1-r0ALPINE-CVE-2021-20227
Debian:12sqlite33.34.1-1DEBIAN-CVE-2021-20227
Debian:13sqlite33.34.1-1DEBIAN-CVE-2021-20227
Debian:14sqlite33.34.1-1DEBIAN-CVE-2021-20227

Affected products (as reported)

VendorProductVersions
n/a sqlite sqlite 3.34.1

Weakness: CWE-416

References