CVE-2019-19317
sqlite: omits bits from the colUsed bitmask in the case of a generated column
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, Photon OS. Rated lower by Red Hat (medium).
Description
lookupName in resolve.c in SQLite 3.30.1 omits bits from the colUsed bitmask in the case of a generated column, which allows attackers to cause a denial of service or possibly have unspecified other impact.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| Photon OS 1.0 | sqlite-autoconf | 3.30.1-2.ph1 |
| Photon OS 2.0 | sqlite | 3.27.2-7.ph2 |
| Photon OS 3.0 | sqlite | 3.30.1-1.ph3 |
References
- https://access.redhat.com/security/cve/CVE-2019-19317
- https://cert-portal.siemens.com/productcert/html/ssa-389290.html
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf
- https://github.com/sqlite/sqlite/commit/522ebfa7cee96fb325a22ea3a2464a63485886a8
- https://github.com/sqlite/sqlite/commit/73bacb7f93eab9f4bd5a65cbc4ae242acf63c9e3
- https://nvd.nist.gov/vuln/detail/CVE-2019-19317
- https://security.netapp.com/advisory/ntap-20191223-0001/