#VU67413 Input validation error in SQLite


Published: 2022-09-15

Vulnerability identifier: #VU67413

Vulnerability risk: Medium

CVSSv3.1: 4.6 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2021-20223

CWE-ID: CWE-20

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
SQLite
Server applications / Database software

Vendor: SQLite

Description

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.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

SQLite: 3.30.0 - 3.33.0


External links
http://github.com/sqlite/sqlite/commit/d1d43efa4fb0f2098c0e2c5bf2e807c58d5ec05b
http://www.sqlite.org/forum/forumpost/09609d7e22
http://sqlite.org/src/info/b7b7bde9b7a03665


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability