CVE-2019-20218

Source
https://cve.org/CVERecord?id=CVE-2019-20218
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-20218.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2019-20218
Downstream
Related
Published
2020-01-02T14:16:36.690Z
Modified
2026-07-08T19:50:18.795436Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

selectExpander in select.c in SQLite 3.30.1 proceeds with WITH stack unwinding even after a parsing error.

Database specific
{
    "unresolved_ranges": [
        {
            "source": "CPE_RANGE",
            "vendor_product": "oracle:mysql_workbench",
            "extracted_events": [
                {
                    "last_affected": "8.0.19"
                }
            ],
            "cpes": [
                "cpe:2.3:a:oracle:mysql_workbench:*:*:*:*:*:*:*:*"
            ]
        },
        {
            "source": "CPE_STRING",
            "vendor_product": "canonical:ubuntu_linux",
            "extracted_events": [
                {
                    "introduced": "16.04"
                },
                {
                    "last_affected": "16.04"
                },
                {
                    "introduced": "18.04"
                },
                {
                    "last_affected": "18.04"
                },
                {
                    "introduced": "19.10"
                },
                {
                    "last_affected": "19.10"
                }
            ],
            "cpes": [
                "cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:*",
                "cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*",
                "cpe:2.3:o:canonical:ubuntu_linux:19.10:*:*:*:*:*:*:*"
            ]
        },
        {
            "source": "CPE_STRING",
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
                {
                    "introduced": "9.0"
                },
                {
                    "last_affected": "9.0"
                }
            ],
            "cpes": [
                "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ]
        }
    ]
}
References

Affected packages

Git / github.com/sqlite/sqlite

Affected ranges

Type
GIT
Repo
https://github.com/sqlite/sqlite
Events
Database specific
{
    "cpe": "cpe:2.3:a:sqlite:sqlite:3.30.1:*:*:*:*:*:*:*",
    "source": [
        "CPE_STRING",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "3.30.1"
        },
        {
            "last_affected": "3.30.1"
        }
    ]
}

Affected versions

3.*
3.30.1
version-3.*
version-3.30.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-20218.json"
vanir_signatures_modified
"2026-07-08T19:50:18Z"
vanir_signatures
[
    {
        "signature_version": "v1",
        "source": "https://github.com/sqlite/sqlite/commit/a6c1a71cde082e09750465d5675699062922e387",
        "id": "CVE-2019-20218-e09ec421",
        "digest": {
            "length": 5911.0,
            "function_hash": "47930037185378936875436749007083030691"
        },
        "target": {
            "function": "selectExpander",
            "file": "src/select.c"
        },
        "deprecated": false,
        "signature_type": "Function"
    },
    {
        "signature_version": "v1",
        "source": "https://github.com/sqlite/sqlite/commit/a6c1a71cde082e09750465d5675699062922e387",
        "id": "CVE-2019-20218-f9e510b7",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "151866113620821485972695702002478069293",
                "28488619799778267104581352620962166056",
                "319681752713229259164845681613497061265",
                "167165538959701664880402602972403794246"
            ]
        },
        "target": {
            "file": "src/select.c"
        },
        "deprecated": false,
        "signature_type": "Line"
    }
]