PT-2021-19200 · Zetetic+1 · Sqlcipher+1
Published
2021-03-03
·
Updated
2024-10-17
·
CVE-2021-3119
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Zetetic SQLCipher versions 4.x before 4.4.3
Description
The issue is related to a NULL pointer dereferencing problem in the
sqlcipher export function in crypto.c and the sqlite3StrICmp function in sqlite3.c. This may allow an attacker to perform a remote denial of service attack by executing a crafted SQL command sequence, which can cause a segmentation fault. An example of such an attack is through SQL injection.Recommendations
For Zetetic SQLCipher versions 4.x before 4.4.3, update to version 4.4.3 or later to resolve the issue. As a temporary workaround, consider restricting the use of the
sqlcipher export function and the sqlite3StrICmp function until a patch is available. Additionally, implement measures to prevent SQL injection attacks to minimize the risk of exploitation.Exploit
Fix
DoS
NULL Pointer Dereference
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Sqlcipher