Skip to content

CVE-2020-27207 Zetetic SQLCipher 4.x before 4.4.1 has a use-after-free, related to sqlcipher_codec_pragma and sqlite3Strlen30 in sqlite3.c. A remote denial of service attack can be performed. For example, a SQL inje...

HighCVSS 7.5 EPSS 1.6%
Published
Updated
Exploit status
No public exploit known
Technology
Ubuntu

Description

Zetetic SQLCipher 4.x before 4.4.1 has a use-after-free, related to sqlcipher_codec_pragma and sqlite3Strlen30 in sqlite3.c. A remote denial of service attack can be performed. For example, a SQL injection can be used to execute the crafted SQL command sequence. After that, some unexpected RAM data is read.

Upgrade path

6 packages: 1 fixed, 5 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/sqlcipher(Ubuntu 16.04) = 3.2.0-1.1; All versions No fix listed No fix yet
ubuntu/sqlcipher(Ubuntu 18.04) = 3.4.1-1; = 3.4.1-1build1; All versions No fix listed No fix yet
ubuntu/sqlcipher(Ubuntu 20.04) = 3.4.1-1build2; All versions No fix listed No fix yet
ubuntu/sqlcipher(Ubuntu 22.04) = 3.4.1-2; = 3.4.1-2build1; All versions No fix listed No fix yet
ubuntu/sqlcipher(Ubuntu 24.04) = 3.4.1-2build1; = 4.5.5-3; = 4.5.6-1; = 4.5.6-1build1 +2 more No fix listed No fix yet
Zetetic SQLCipher >= 4.0, < 4.4.1 4.4.1 Fixed

Affected products

ProductAffected versionsFixed in
Zetetic SQLCipher >= 4.0, < 4.4.1 4.4.1
ubuntu/sqlcipher(Ubuntu:24.04) All versions No fix listed
ubuntu/sqlcipher(Ubuntu:22.04) All versions No fix listed
ubuntu/sqlcipher(Ubuntu:16.04) All versions No fix listed
ubuntu/sqlcipher(Ubuntu:16.04) = 3.2.0-1.1 No fix listed
ubuntu/sqlcipher(Ubuntu:18.04) All versions No fix listed
ubuntu/sqlcipher(Ubuntu:18.04) = 3.4.1-1 No fix listed
ubuntu/sqlcipher(Ubuntu:18.04) = 3.4.1-1build1 No fix listed
ubuntu/sqlcipher(Ubuntu:20.04) All versions No fix listed
ubuntu/sqlcipher(Ubuntu:20.04) = 3.4.1-1build2 No fix listed
ubuntu/sqlcipher(Ubuntu:22.04) = 3.4.1-2 No fix listed
ubuntu/sqlcipher(Ubuntu:22.04) = 3.4.1-2build1 No fix listed
ubuntu/sqlcipher(Ubuntu:24.04) = 3.4.1-2build1 No fix listed
ubuntu/sqlcipher(Ubuntu:24.04) = 4.5.5-3 No fix listed
ubuntu/sqlcipher(Ubuntu:24.04) = 4.5.6-1 No fix listed
ubuntu/sqlcipher(Ubuntu:24.04) = 4.5.6-1build1 No fix listed
ubuntu/sqlcipher(Ubuntu:24.04) = 4.5.6-1build2 No fix listed

References