Security restrictions bypass in Sqlite



Published: 2022-09-15
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2021-20223
CWE-ID CWE-20
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
SQLite
Server applications / Database software

Vendor SQLite

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Input validation error

EUVDB-ID: #VU67413

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 - Improper input validation

Exploit availability: No

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.

How the attacker can exploit this vulnerability?

The attacker would have to send a specially crafted request to the affected application in order to exploit this vulnerability.

Is there known malware, which exploits this vulnerability?

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



###SIDEBAR###