First published: Tue Jan 22 2019(Updated: )
SQLite before 3.25.3, when the FTS3 extension is enabled, encounters an integer overflow (and resultant buffer overflow) for FTS3 queries in a "merge" operation that occurs after crafted changes to FTS3 shadow tables, allowing remote attackers to execute arbitrary code by leveraging the ability to run arbitrary SQL statements (such as in certain WebSQL use cases). This is a different vulnerability than CVE-2018-20346.
Credit: Tencent Blade Team Tencent Blade Team Tencent Blade Team Tencent Blade Team Tencent Blade Team Tencent Blade Team Tencent Blade Team Tencent Blade Team Tencent Blade Team Tencent Blade Team Tencent Blade Team Tencent Blade Team Tencent Blade Team Tencent Blade Team Tencent Blade Team Tencent Blade Team Tencent Blade Team Tencent Blade Team cve@mitre.org cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
Apple iCloud for Windows | <7.10 | 7.10 |
Apple iTunes for Windows | <12.9.3 | 12.9.3 |
Apple watchOS | <5.1.3 | 5.1.3 |
Apple macOS Mojave | <10.14.3 | 10.14.3 |
Apple High Sierra | ||
Apple Sierra | ||
Apple tvOS | <12.1.2 | 12.1.2 |
Apple iOS | <12.1.3 | 12.1.3 |
SQLite SQLite | <3.25.3 | |
Apple iPhone OS | <12.1.3 | |
Apple Mac OS X | <10.14.3 | |
Apple tvOS | <12.1.2 | |
Apple watchOS | <5.1.3 | |
Apple iCloud | <=7.10 | |
Apple iTunes | <=12.9.3 | |
Microsoft Windows | ||
openSUSE Leap | =42.3 | |
All of | ||
Any of | ||
Apple iCloud | <=7.10 | |
Apple iTunes | <=12.9.3 | |
Microsoft Windows | ||
ubuntu/sqlite3 | <3.22.0-1ubuntu0.1 | 3.22.0-1ubuntu0.1 |
ubuntu/sqlite3 | <3.24.0-1ubuntu0.1 | 3.24.0-1ubuntu0.1 |
ubuntu/sqlite3 | <3.8.2-1ubuntu2.2+ | 3.8.2-1ubuntu2.2+ |
ubuntu/sqlite3 | <3.25.3-1 | 3.25.3-1 |
ubuntu/sqlite3 | <3.11.0-1ubuntu1.2 | 3.11.0-1ubuntu1.2 |
debian/sqlite | 2.8.17-15 2.8.17-15+deb10u1 | |
debian/sqlite3 | 3.27.2-3+deb10u1 3.27.2-3+deb10u2 3.34.1-3 3.40.1-2 3.45.1-1 3.45.3-1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
(Appears in the following advisories)
(Found alongside the following vulnerabilities)
CVE-2018-20506 is a vulnerability in SQLite that allows remote attackers to execute arbitrary code.
The severity of CVE-2018-20506 is high with a CVSS score of 8.1.
CVE-2018-20506 affects SQLite versions prior to 3.25.3.
To fix CVE-2018-20506, update SQLite to version 3.25.3 or later.
You can find more information about CVE-2018-20506 at the following references: https://security.netapp.com/advisory/ntap-20190502-0004/, http://seclists.org/fulldisclosure/2019/Jan/62, http://seclists.org/fulldisclosure/2019/Jan/64