Input validation error in SQLite - CVE-2021-20223
Published: September 15, 2022
Vulnerability details
The vulnerability allows a remote attacker to bypass implemented security restrictions.
The vulnerability exists due to insufficient validation of user-supplied input within the fts5UnicodeTokenize() function in ext/fts5/fts5_tokenize.c, which caused the unicode61 tokenizer configured to treat unicode "control-characters" (class Cc), was treating embedded nul characters as tokens. A remote attacker can pass specially crafted input to the application and bypass implemented security restrictions.
Affected software
Ubuntu
openEuler
libsqlite3-0 (Ubuntu package)
sqlite3 (Ubuntu package)
sqlite
sqlite-devel
sqlite-debuginfo
sqlite-debugsource
sqlite-help
How to mitigate CVE-2021-20223
libsqlite3-0 (Ubuntu package) - update to Ubuntu Pro (Infra-only)
sqlite3 (Ubuntu package) - addressed in versions Ubuntu Pro (Infra-only), 3.22.0-1ubuntu0.6, 3.31.1-4ubuntu0.4
sqlite - update to 3.32.3-5
sqlite-devel - update to 3.32.3-5
sqlite-debuginfo - update to 3.32.3-5
sqlite-debugsource - update to 3.32.3-5
sqlite-help - update to 3.32.3-5