Bug 1469672 (CVE-2017-10989) - CVE-2017-10989 sqlite: Heap-buffer overflow in the getNodeSize function
Summary: CVE-2017-10989 sqlite: Heap-buffer overflow in the getNodeSize function
Status: NEW
Alias: CVE-2017-10989
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 1469675 1469677 1469673 1469674 1469676
Blocks: 1469678
TreeView+ depends on / blocked
Reported: 2017-07-11 15:27 UTC by Andrej Nemec
Modified: 2019-09-29 14:15 UTC (History)
25 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed:

Attachments (Terms of Use)

Description Andrej Nemec 2017-07-11 15:27:50 UTC
The getNodeSize function in ext/rtree/rtree.c in SQLite mishandles undersized RTree blobs in a crafted database, leading to a heap-based buffer over-read or possibly unspecified other impact.



Upstream patch:


Comment 1 Andrej Nemec 2017-07-11 15:28:10 UTC
Created mingw-sqlite tracking bugs for this issue:

Affects: epel-7 [bug 1469674]
Affects: fedora-all [bug 1469676]

Created sqlite tracking bugs for this issue:

Affects: fedora-all [bug 1469673]

Created sqlite2 tracking bugs for this issue:

Affects: epel-all [bug 1469677]
Affects: fedora-all [bug 1469675]

Comment 2 Petr Kubat 2017-07-12 07:09:36 UTC
This seems to only affect sqlite versions older than 3.17 as, according to the sqlite developers and the reporter of the Ubuntu bug, the issue has been indirectly fixed in version 3.17.

For later versions the patch serves only to detect the issue earlier and to provide the user with a more useful error message.

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