CVE-2019-19923
High 7.5 CVSS 3.1
Description
flattenSubquery in select.c in SQLite 3.30.1 mishandles certain uses of SELECT DISTINCT involving a LEFT JOIN in which the right-hand side is a view. This can cause a NULL pointer dereference (or incorrect results).
Description as published by the source, in English.
Key facts
- Published
- 2019-12-24
- Last modified
- 2026-10-14
- Assigned by
- cve@mitre.org
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
6.8 %
higher than 93 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Yes, see references
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Debian | Debian Linux | 10.0 | Affected |
| Debian | Debian Linux | 9.0 | Affected |
| Netapp | Cloud Backup | all versions listed | Affected |
| Opensuse | Backports Sle | 15.0 | Affected |
| Opensuse | Leap | 15.1 | Affected |
| Oracle | Mysql Workbench | ≤ 8.0.19 | Affected |
| Redhat | Enterprise Linux Desktop | 6.0 | Affected |
| Redhat | Enterprise Linux Server | 6.0 | Affected |
| Redhat | Enterprise Linux Workstation | 6.0 | Affected |
| Siemens | Sinec Infrastructure Network Services | < 1.0.1.1 | Affected |
| Sqlite | Sqlite | 3.30.1 | Affected |
| Suse | Linux Enterprise | 12.0 | Not affected |
| Suse | Package Hub | all versions listed | Affected |
Weakness type
-
CWE-476: NULL Pointer Dereference
The product dereferences a pointer that it expects to be valid but is NULL.
References
- http://lists.opensuse.org/opensuse-security-announce/2020-02/msg00010.html
- http://lists.opensuse.org/opensuse-security-announce/2020-02/msg00015.html
- http://lists.opensuse.org/opensuse-security-announce/2020-02/msg00025.html
- https://access.redhat.com/errata/RHSA-2020:0514
- https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf
- https://github.com/sqlite/sqlite/commit/396afe6f6aa90a31303c183e11b2b2d4b7956b35
- https://security.netapp.com/advisory/ntap-20200114-0003/
- https://usn.ubuntu.com/4298-1/
- https://www.debian.org/security/2020/dsa-4638
- https://www.oracle.com/security-alerts/cpuapr2020.html
- http://lists.opensuse.org/opensuse-security-announce/2020-02/msg00010.html
- http://lists.opensuse.org/opensuse-security-announce/2020-02/msg00015.html
- http://lists.opensuse.org/opensuse-security-announce/2020-02/msg00025.html
- https://access.redhat.com/errata/RHSA-2020:0514
- https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf
- https://github.com/sqlite/sqlite/commit/396afe6f6aa90a31303c183e11b2b2d4b7956b35
- https://security.netapp.com/advisory/ntap-20200114-0003/
- https://usn.ubuntu.com/4298-1/
- https://www.debian.org/security/2020/dsa-4638
- https://www.oracle.com/security-alerts/cpuapr2020.html
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.