CVE-2017-10989
sqlite: Heap-buffer overflow in the getNodeSize function
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Photon OS (high), Red Hat (low), Ubuntu (low).
Description
The getNodeSize function in ext/rtree/rtree.c in SQLite through 3.19.3, as used in GDAL and other products, mishandles undersized RTree blobs in a crafted database, leading to a heap-based buffer over-read or possibly unspecified other impact.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| alpine 3.3 | sqlite | 3.13.0-r1 |
| alpine 3.4 | sqlite | 3.13.0-r1 |
| alpine 3.5 | sqlite | 3.15.2-r1 |
| alpine 3.6 | sqlite | 3.20.0 |
| debian 11 | sqlite3 | 3.19.3-3 |
| debian 12 | sqlite3 | 3.19.3-3 |
| debian 13 | sqlite3 | 3.19.3-3 |
| debian 14 | sqlite3 | 3.19.3-3 |
| debian 7 | sqlite3 | 3.7.13-1+deb7u4 |
| debian 8 | sqlite3 | 3.8.7.1-1+deb8u4 |
| debian 9 | sqlite3 | 3.16.2-5+deb9u1 |
| echo | sqlite3 | 3.19.3-3 |
Show all 27 entries from 22 sources
| Source | Package | Fixed in |
|---|---|---|
| alpine 3.3 | sqlite | 3.13.0-r1 |
| alpine 3.4 | sqlite | 3.13.0-r1 |
| alpine 3.5 | sqlite | 3.15.2-r1 |
| alpine 3.6 | sqlite | 3.20.0 |
| debian 11 | sqlite3 | 3.19.3-3 |
| debian 12 | sqlite3 | 3.19.3-3 |
| debian 13 | sqlite3 | 3.19.3-3 |
| debian 14 | sqlite3 | 3.19.3-3 |
| debian 7 | sqlite3 | 3.7.13-1+deb7u4 |
| debian 8 | sqlite3 | 3.8.7.1-1+deb8u4 |
| debian 9 | sqlite3 | 3.16.2-5+deb9u1 |
| echo | sqlite3 | 3.19.3-3 |
| Photon OS 1.0 | sqlite-autoconf | 3.18.0-2.ph1 |
| Photon OS 2.0 | sqlite | 3.19.3-1.ph2 |
| Red Hat | lemon | no fix listed |
| Red Hat | sqlite | no fix listed |
| Red Hat | sqlite-devel | no fix listed |
| Red Hat | sqlite-doc | no fix listed |
| Red Hat | sqlite-tcl | no fix listed |
| root.io debian 11 | rootio-sqlite3 | 3.19.3-3 |
| root.io debian 12 | rootio-sqlite3 | 3.19.3-3 |
| root.io debian 13 | rootio-sqlite3 | 3.19.3-3 |
| seal Red Hat 7 | seal-sqlite | 3.7.17-8.el7_7.1+sp999 |
| seal Red Hat 7 | sqlite | 3.7.17-8.el7_7.1+sp999 |
| ubuntu 14.04-ESM | sqlite3 | 3.8.2-1ubuntu2.2+esm1 |
| ubuntu 16.04 | sqlite3 | 3.11.0-1ubuntu1.2 |
| ubuntu 16.04-ESM | sqlite3 | 3.11.0-1ubuntu1.2 |
References
- http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00050.html
- http://marc.info/?l=sqlite-users&m=149933696214713&w=2
- http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html
- http://www.securityfocus.com/bid/99502
- http://www.securitytracker.com/id/1039427
- https://access.redhat.com/security/cve/CVE-2017-10989
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2405
- https://bugs.launchpad.net/ubuntu/+source/sqlite3/+bug/1700937
All 21 references
- https://lists.debian.org/debian-lts-announce/2019/01/msg00009.html
- https://nvd.nist.gov/vuln/detail/CVE-2017-10989
- https://sqlite.org/src/info/66de6f4a
- https://sqlite.org/src/vpatch?from=0db20efe201736b3&to=66de6f4a9504ec26
- https://support.apple.com/HT208112
- https://support.apple.com/HT208113
- https://support.apple.com/HT208115
- https://support.apple.com/HT208144
- https://ubuntu.com/security/notices/USN-4019-1
- https://ubuntu.com/security/notices/USN-4019-2
- https://usn.ubuntu.com/4019-1/
- https://usn.ubuntu.com/4019-2/
- https://www.cve.org/CVERecord?id=CVE-2017-10989