UBUNTU-CVE-2018-20346

Source
https://ubuntu.com/security/CVE-2018-20346
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-20346.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2018-20346
Related
Published
2018-12-21T00:00:00Z
Modified
2018-12-21T00:00:00Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

SQLite before 3.25.3, when the FTS3 extension is enabled, encounters an integer overflow (and resultant buffer overflow) for FTS3 queries that occur 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), aka Magellan.

References

Affected packages

Ubuntu:Pro:14.04:LTS / sqlite3

Package

Name
sqlite3
Purl
pkg:deb/ubuntu/sqlite3?arch=src?distro=trusty/esm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.8.2-1ubuntu2.2+esm1

Affected versions

3.*

3.7.17-1ubuntu1
3.8.0.2-1ubuntu1
3.8.1-1ubuntu1
3.8.1-1ubuntu3
3.8.2-1ubuntu1
3.8.2-1ubuntu2
3.8.2-1ubuntu2.1
3.8.2-1ubuntu2.2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "3.8.2-1ubuntu2.2+esm1",
            "binary_name": "lemon"
        },
        {
            "binary_version": "3.8.2-1ubuntu2.2+esm1",
            "binary_name": "lemon-dbgsym"
        },
        {
            "binary_version": "3.8.2-1ubuntu2.2+esm1",
            "binary_name": "libsqlite3-0"
        },
        {
            "binary_version": "3.8.2-1ubuntu2.2+esm1",
            "binary_name": "libsqlite3-0-dbg"
        },
        {
            "binary_version": "3.8.2-1ubuntu2.2+esm1",
            "binary_name": "libsqlite3-0-dbgsym"
        },
        {
            "binary_version": "3.8.2-1ubuntu2.2+esm1",
            "binary_name": "libsqlite3-dev"
        },
        {
            "binary_version": "3.8.2-1ubuntu2.2+esm1",
            "binary_name": "libsqlite3-dev-dbgsym"
        },
        {
            "binary_version": "3.8.2-1ubuntu2.2+esm1",
            "binary_name": "libsqlite3-tcl"
        },
        {
            "binary_version": "3.8.2-1ubuntu2.2+esm1",
            "binary_name": "libsqlite3-tcl-dbgsym"
        },
        {
            "binary_version": "3.8.2-1ubuntu2.2+esm1",
            "binary_name": "sqlite3"
        },
        {
            "binary_version": "3.8.2-1ubuntu2.2+esm1",
            "binary_name": "sqlite3-dbgsym"
        },
        {
            "binary_version": "3.8.2-1ubuntu2.2+esm1",
            "binary_name": "sqlite3-doc"
        }
    ]
}

Ubuntu:16.04:LTS / sqlite3

Package

Name
sqlite3
Purl
pkg:deb/ubuntu/sqlite3?arch=src?distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.11.0-1ubuntu1.2

Affected versions

3.*

3.8.11.1-1
3.9.1-2
3.9.2-1
3.10.0-1
3.10.1-1
3.10.2-1
3.11.0-1ubuntu1
3.11.0-1ubuntu1.1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "3.11.0-1ubuntu1.2",
            "binary_name": "lemon"
        },
        {
            "binary_version": "3.11.0-1ubuntu1.2",
            "binary_name": "lemon-dbgsym"
        },
        {
            "binary_version": "3.11.0-1ubuntu1.2",
            "binary_name": "libsqlite3-0"
        },
        {
            "binary_version": "3.11.0-1ubuntu1.2",
            "binary_name": "libsqlite3-0-dbg"
        },
        {
            "binary_version": "3.11.0-1ubuntu1.2",
            "binary_name": "libsqlite3-0-dbgsym"
        },
        {
            "binary_version": "3.11.0-1ubuntu1.2",
            "binary_name": "libsqlite3-dev"
        },
        {
            "binary_version": "3.11.0-1ubuntu1.2",
            "binary_name": "libsqlite3-dev-dbgsym"
        },
        {
            "binary_version": "3.11.0-1ubuntu1.2",
            "binary_name": "libsqlite3-tcl"
        },
        {
            "binary_version": "3.11.0-1ubuntu1.2",
            "binary_name": "libsqlite3-tcl-dbgsym"
        },
        {
            "binary_version": "3.11.0-1ubuntu1.2",
            "binary_name": "sqlite3"
        },
        {
            "binary_version": "3.11.0-1ubuntu1.2",
            "binary_name": "sqlite3-dbgsym"
        },
        {
            "binary_version": "3.11.0-1ubuntu1.2",
            "binary_name": "sqlite3-doc"
        }
    ]
}

Ubuntu:18.04:LTS / sqlite3

Package

Name
sqlite3
Purl
pkg:deb/ubuntu/sqlite3?arch=src?distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.22.0-1ubuntu0.1

Affected versions

3.*

3.19.3-3
3.20.1-2
3.21.0-1
3.22.0-1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "3.22.0-1ubuntu0.1",
            "binary_name": "lemon"
        },
        {
            "binary_version": "3.22.0-1ubuntu0.1",
            "binary_name": "lemon-dbgsym"
        },
        {
            "binary_version": "3.22.0-1ubuntu0.1",
            "binary_name": "libsqlite3-0"
        },
        {
            "binary_version": "3.22.0-1ubuntu0.1",
            "binary_name": "libsqlite3-0-dbgsym"
        },
        {
            "binary_version": "3.22.0-1ubuntu0.1",
            "binary_name": "libsqlite3-dev"
        },
        {
            "binary_version": "3.22.0-1ubuntu0.1",
            "binary_name": "libsqlite3-tcl"
        },
        {
            "binary_version": "3.22.0-1ubuntu0.1",
            "binary_name": "libsqlite3-tcl-dbgsym"
        },
        {
            "binary_version": "3.22.0-1ubuntu0.1",
            "binary_name": "sqlite3"
        },
        {
            "binary_version": "3.22.0-1ubuntu0.1",
            "binary_name": "sqlite3-dbgsym"
        },
        {
            "binary_version": "3.22.0-1ubuntu0.1",
            "binary_name": "sqlite3-doc"
        }
    ]
}