SB2019032205 - Multiple vulnerabilities in SQLite
Published: March 22, 2019
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 2 vulnerabilities.
1) Out-of-bounds read (CVE-ID: CVE-2019-9936)
CWE-ID: CWE-125 - Out-of-bounds read
CVSSv4: 2.1 [CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to gain access to potentially sensitive information.
The vulnerability exists due to a boundary condition within the fts5HashEntrySort in sqlite3.c when running fts5 prefix queries inside a transaction. A remote user with ability to send queries can trigger heap-based buffer over-read error and read contents of memory on the system.
2) NULL pointer dereference (CVE-ID: CVE-2019-9937)
CWE-ID: CWE-476 - NULL Pointer Dereference
CVSSv4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to a NULL pointer dreference error when processing interleaving reads and writes in a single transaction with an fts5 virtual table in fts5ChunkIterate in sqlite3.c. This is related to ext/fts5/fts5_hash.c and ext/fts5/fts5_index.c. A remote attacker can perform a denial of service (DoS) attack.
Remediation
Install update from vendor's website.
References
- https://sqlite.org/src/info/b3fa58dd7403dbd4
- https://www.mail-archive.com/sqlite-users@mailinglists.sqlite.org/msg114382.html
- https://www.mail-archive.com/sqlite-users@mailinglists.sqlite.org/msg114394.html
- https://sqlite.org/src/info/45c73deb440496e8
- https://www.mail-archive.com/sqlite-users@mailinglists.sqlite.org/msg114383.html
- https://www.mail-archive.com/sqlite-users@mailinglists.sqlite.org/msg114393.html