Bug 1692357 (CVE-2019-9937) - CVE-2019-9937 sqlite: null-pointer dereference in function fts5ChunkIterate in sqlite3.c
Summary: CVE-2019-9937 sqlite: null-pointer dereference in function fts5ChunkIterate i...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2019-9937
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1692358 1694734
Blocks: 1692370
TreeView+ depends on / blocked
 
Reported: 2019-03-25 12:49 UTC by Dhananjay Arunesh
Modified: 2021-10-27 03:27 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-10-27 03:27:02 UTC
Embargoed:


Attachments (Terms of Use)

Description Dhananjay Arunesh 2019-03-25 12:49:17 UTC
In SQLite 3.27.2, interleaving reads and writes in a single transaction with an fts5 virtual table will lead to a NULL Pointer Dereference in fts5ChunkIterate in sqlite3.c. This is related to ext/fts5/fts5_hash.c and ext/fts5/fts5_index.c.

References:
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

Comment 1 Dhananjay Arunesh 2019-03-25 12:50:35 UTC
Created sqlite tracking bugs for this issue:

Affects: fedora-all [bug 1692358]

Comment 6 Marco Benatto 2019-03-29 19:20:32 UTC
Statement:

This issue did not affect the versions of sqlite as shipped with Red Hat Enterprise Linux 6 and 7 as they did not include support for fts5.

Comment 9 Marco Benatto 2019-05-15 12:03:39 UTC
Upstream commit for this issue:
https://sqlite.org/src/info/45c73deb440496e8


Note You need to log in before you can comment on or make changes to this bug.