#VU51834 Use-after-free in SQLite - CVE-2021-20227
Published: April 1, 2021 / Updated: October 28, 2023
SQLite
SQLite
Description
The vulnerability allows an attacker to compromise vulnerable system.
The vulnerability exists due to a use-after-free error when processing SELECT queries in "src/select.c" if a subquery with both a correlated WHERE clause and a "HAVING 0" clause is used and the parent query is an aggregate. A remote attacker can execute a specially crafted query to trigger a use-after-free error and execute arbitrary code on the system.
Successful exploitation of the vulnerability may allow an attacker to compromise vulnerable system.