-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

====================================================================                   Red Hat Security Advisory

Synopsis:          Moderate: sqlite security update
Advisory ID:       RHSA-2020:4442-01
Product:           Red Hat Enterprise Linux
Advisory URL:      https://access.redhat.com/errata/RHSA-2020:4442
Issue date:        2020-11-03
CVE Names:         CVE-2019-5018 CVE-2019-16168 CVE-2019-20218 
                   CVE-2020-6405 CVE-2020-9327 CVE-2020-13630 
                   CVE-2020-13631 CVE-2020-13632 
====================================================================
1. Summary:

An update for sqlite is now available for Red Hat Enterprise Linux 8.

Red Hat Product Security has rated this update as having a security impact
of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which
gives a detailed severity rating, is available for each vulnerability from
the CVE link(s) in the References section.

2. Relevant releases/architectures:

Red Hat Enterprise Linux AppStream (v. 8) - aarch64, ppc64le, s390x, x86_64
Red Hat Enterprise Linux BaseOS (v. 8) - aarch64, noarch, ppc64le, s390x, x86_64

3. Description:

SQLite is a C library that implements an SQL database engine. A large
subset of SQL92 is supported. A complete database is stored in a single
disk file. The API is designed for convenience and ease of use.
Applications that link against SQLite can enjoy the power and flexibility
of an SQL database without the administrative hassles of supporting a
separate database server.

Security Fix(es):

* sqlite: Use-after-free in window function leading to remote code
execution (CVE-2019-5018)

* sqlite: Division by zero in whereLoopAddBtreeIndex in sqlite3.c
(CVE-2019-16168)

* sqlite: selectExpander in select.c proceeds with WITH stack unwinding
even after a parsing error (CVE-2019-20218)

* sqlite: Out-of-bounds read in SELECT with ON/USING clause (CVE-2020-6405)

* sqlite: NULL pointer dereference and segmentation fault because of
generated column optimizations (CVE-2020-9327)

* sqlite: Use-after-free in fts3EvalNextRow in ext/fts3/fts3.c
(CVE-2020-13630)

* sqlite: Virtual table can be renamed into the name of one of its shadow
tables (CVE-2020-13631)

* sqlite: NULL pointer dereference in ext/fts3/fts3_snippet.c via a crafted
matchinfo() query (CVE-2020-13632)

For more details about the security issue(s), including the impact, a CVSS
score, acknowledgments, and other related information, refer to the CVE
page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the Red Hat
Enterprise Linux 8.3 Release Notes linked from the References section.

4. Solution:

For details on how to apply this update, which includes the changes
described in this advisory, refer to:

https://access.redhat.com/articles/11258

5. Bugs fixed (https://bugzilla.redhat.com/):

1708301 - CVE-2019-5018 sqlite: Use-after-free in window function leading to remote code execution
1768986 - CVE-2019-16168 sqlite: Division by zero in whereLoopAddBtreeIndex in sqlite3.c
1791313 - CVE-2019-20218 sqlite: selectExpander in select.c proceeds with WITH stack unwinding even after a parsing error
1801181 - CVE-2020-6405 sqlite: Out-of-bounds read in SELECT with ON/USING clause
1809315 - CVE-2020-9327 sqlite: NULL pointer dereference and segmentation fault because of generated column optimizations
1841562 - CVE-2020-13630 sqlite: Use-after-free in fts3EvalNextRow in ext/fts3/fts3.c
1841568 - CVE-2020-13631 sqlite: Virtual table can be renamed into the name of one of its shadow tables
1841574 - CVE-2020-13632 sqlite: NULL pointer dereference in ext/fts3/fts3_snippet.c via a crafted matchinfo() query

6. Package List:

Red Hat Enterprise Linux AppStream (v. 8):

aarch64:
lemon-3.26.0-11.el8.aarch64.rpm
lemon-debuginfo-3.26.0-11.el8.aarch64.rpm
sqlite-analyzer-debuginfo-3.26.0-11.el8.aarch64.rpm
sqlite-debuginfo-3.26.0-11.el8.aarch64.rpm
sqlite-debugsource-3.26.0-11.el8.aarch64.rpm
sqlite-libs-debuginfo-3.26.0-11.el8.aarch64.rpm
sqlite-tcl-debuginfo-3.26.0-11.el8.aarch64.rpm

ppc64le:
lemon-3.26.0-11.el8.ppc64le.rpm
lemon-debuginfo-3.26.0-11.el8.ppc64le.rpm
sqlite-analyzer-debuginfo-3.26.0-11.el8.ppc64le.rpm
sqlite-debuginfo-3.26.0-11.el8.ppc64le.rpm
sqlite-debugsource-3.26.0-11.el8.ppc64le.rpm
sqlite-libs-debuginfo-3.26.0-11.el8.ppc64le.rpm
sqlite-tcl-debuginfo-3.26.0-11.el8.ppc64le.rpm

s390x:
lemon-3.26.0-11.el8.s390x.rpm
lemon-debuginfo-3.26.0-11.el8.s390x.rpm
sqlite-analyzer-debuginfo-3.26.0-11.el8.s390x.rpm
sqlite-debuginfo-3.26.0-11.el8.s390x.rpm
sqlite-debugsource-3.26.0-11.el8.s390x.rpm
sqlite-libs-debuginfo-3.26.0-11.el8.s390x.rpm
sqlite-tcl-debuginfo-3.26.0-11.el8.s390x.rpm

x86_64:
lemon-3.26.0-11.el8.x86_64.rpm
lemon-debuginfo-3.26.0-11.el8.x86_64.rpm
sqlite-analyzer-debuginfo-3.26.0-11.el8.x86_64.rpm
sqlite-debuginfo-3.26.0-11.el8.x86_64.rpm
sqlite-debugsource-3.26.0-11.el8.x86_64.rpm
sqlite-libs-debuginfo-3.26.0-11.el8.x86_64.rpm
sqlite-tcl-debuginfo-3.26.0-11.el8.x86_64.rpm

Red Hat Enterprise Linux BaseOS (v. 8):

Source:
sqlite-3.26.0-11.el8.src.rpm

aarch64:
lemon-debuginfo-3.26.0-11.el8.aarch64.rpm
sqlite-3.26.0-11.el8.aarch64.rpm
sqlite-analyzer-debuginfo-3.26.0-11.el8.aarch64.rpm
sqlite-debuginfo-3.26.0-11.el8.aarch64.rpm
sqlite-debugsource-3.26.0-11.el8.aarch64.rpm
sqlite-devel-3.26.0-11.el8.aarch64.rpm
sqlite-libs-3.26.0-11.el8.aarch64.rpm
sqlite-libs-debuginfo-3.26.0-11.el8.aarch64.rpm
sqlite-tcl-debuginfo-3.26.0-11.el8.aarch64.rpm

noarch:
sqlite-doc-3.26.0-11.el8.noarch.rpm

ppc64le:
lemon-debuginfo-3.26.0-11.el8.ppc64le.rpm
sqlite-3.26.0-11.el8.ppc64le.rpm
sqlite-analyzer-debuginfo-3.26.0-11.el8.ppc64le.rpm
sqlite-debuginfo-3.26.0-11.el8.ppc64le.rpm
sqlite-debugsource-3.26.0-11.el8.ppc64le.rpm
sqlite-devel-3.26.0-11.el8.ppc64le.rpm
sqlite-libs-3.26.0-11.el8.ppc64le.rpm
sqlite-libs-debuginfo-3.26.0-11.el8.ppc64le.rpm
sqlite-tcl-debuginfo-3.26.0-11.el8.ppc64le.rpm

s390x:
lemon-debuginfo-3.26.0-11.el8.s390x.rpm
sqlite-3.26.0-11.el8.s390x.rpm
sqlite-analyzer-debuginfo-3.26.0-11.el8.s390x.rpm
sqlite-debuginfo-3.26.0-11.el8.s390x.rpm
sqlite-debugsource-3.26.0-11.el8.s390x.rpm
sqlite-devel-3.26.0-11.el8.s390x.rpm
sqlite-libs-3.26.0-11.el8.s390x.rpm
sqlite-libs-debuginfo-3.26.0-11.el8.s390x.rpm
sqlite-tcl-debuginfo-3.26.0-11.el8.s390x.rpm

x86_64:
lemon-debuginfo-3.26.0-11.el8.i686.rpm
lemon-debuginfo-3.26.0-11.el8.x86_64.rpm
sqlite-3.26.0-11.el8.i686.rpm
sqlite-3.26.0-11.el8.x86_64.rpm
sqlite-analyzer-debuginfo-3.26.0-11.el8.i686.rpm
sqlite-analyzer-debuginfo-3.26.0-11.el8.x86_64.rpm
sqlite-debuginfo-3.26.0-11.el8.i686.rpm
sqlite-debuginfo-3.26.0-11.el8.x86_64.rpm
sqlite-debugsource-3.26.0-11.el8.i686.rpm
sqlite-debugsource-3.26.0-11.el8.x86_64.rpm
sqlite-devel-3.26.0-11.el8.i686.rpm
sqlite-devel-3.26.0-11.el8.x86_64.rpm
sqlite-libs-3.26.0-11.el8.i686.rpm
sqlite-libs-3.26.0-11.el8.x86_64.rpm
sqlite-libs-debuginfo-3.26.0-11.el8.i686.rpm
sqlite-libs-debuginfo-3.26.0-11.el8.x86_64.rpm
sqlite-tcl-debuginfo-3.26.0-11.el8.i686.rpm
sqlite-tcl-debuginfo-3.26.0-11.el8.x86_64.rpm

These packages are GPG signed by Red Hat for security.  Our key and
details on how to verify the signature are available from
https://access.redhat.com/security/team/key/

7. References:

https://access.redhat.com/security/cve/CVE-2019-5018
https://access.redhat.com/security/cve/CVE-2019-16168
https://access.redhat.com/security/cve/CVE-2019-20218
https://access.redhat.com/security/cve/CVE-2020-6405
https://access.redhat.com/security/cve/CVE-2020-9327
https://access.redhat.com/security/cve/CVE-2020-13630
https://access.redhat.com/security/cve/CVE-2020-13631
https://access.redhat.com/security/cve/CVE-2020-13632
https://access.redhat.com/security/updates/classification/#moderate
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.3_release_notes/

8. Contact:

The Red Hat security contact is . More contact
details at https://access.redhat.com/security/team/contact/

Copyright 2020 Red Hat, Inc.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIVAwUBX6IxltzjgjWX9erEAQjXUg//em5y2TDakfPonKjvMCKrZxZLgVbUTTsS
yamY38dTH9aEddYc3gS9w0+km5nukvD0CjBEZzfLeSFYnCUEEZGAhXxaBlW++Itg
YEZtrAvM5UfmbAZQukoM0y4evRWI+ADZJJQCJKfbbv+WsYdI/lrFtoNv/9JG2+Xu
VYkmuhjN6MK8VsZvY+eUcFdIEVP1T3CJdesSFVKKGZYqBKUvdgLCrxFhGjmvN4Jz
QO13Wt5FtH1EPJqORDTHa/L/J1+kENulmFUcStIcWqr9qb1O7FcA6fJh2Wb/REcZ
3duzY6Z6Sld049B+0yiwvyX1+OYVTaIHOwhx38Pc7/a57s/l6wOWjSy5VWrPLAG/
Pv2lo0ku6PqzP1k4tP85rKdeFiXR3Hm3MybdEVr5TpmFnXR1EpicEnUjMZ2OxoHg
7IfdgH9/52VBiYjCPRiXvi+kn773nZUB485Tu3Sefr8UPx++rlT6u1xhZfXxA9QR
bEcJaaS74QAXeSg4JRf3f72Tp5AFo40DQll+UxKA+h5dPyGK4pOApfVr+OK4CZNu
MYi9OoAYTHYSHVLPEGQmrQ3BPMMZNV/mELPxXKEtgIOEkRegr6hUR6+iG5v7ZqsD
5ONYAWGYDr/ZxdjhvoRL70x6xn7E2a99FLTlmqabqd619if/jeIijndsGlRZqfQ7
FcqzyhW6w6o=3vU6
-----END PGP SIGNATURE-----

--
RHSA-announce mailing list
RHSA-announce@redhat.com
https://www.redhat.com/mailman/listinfo/rhsa-announce

RedHat: RHSA-2020-4442:01 Moderate: sqlite security update

An update for sqlite is now available for Red Hat Enterprise Linux 8

Summary

SQLite is a C library that implements an SQL database engine. A large subset of SQL92 is supported. A complete database is stored in a single disk file. The API is designed for convenience and ease of use. Applications that link against SQLite can enjoy the power and flexibility of an SQL database without the administrative hassles of supporting a separate database server.
Security Fix(es):
* sqlite: Use-after-free in window function leading to remote code execution (CVE-2019-5018)
* sqlite: Division by zero in whereLoopAddBtreeIndex in sqlite3.c (CVE-2019-16168)
* sqlite: selectExpander in select.c proceeds with WITH stack unwinding even after a parsing error (CVE-2019-20218)
* sqlite: Out-of-bounds read in SELECT with ON/USING clause (CVE-2020-6405)
* sqlite: NULL pointer dereference and segmentation fault because of generated column optimizations (CVE-2020-9327)
* sqlite: Use-after-free in fts3EvalNextRow in ext/fts3/fts3.c (CVE-2020-13630)
* sqlite: Virtual table can be renamed into the name of one of its shadow tables (CVE-2020-13631)
* sqlite: NULL pointer dereference in ext/fts3/fts3_snippet.c via a crafted matchinfo() query (CVE-2020-13632)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Additional Changes:
For detailed information on changes in this release, see the Red Hat Enterprise Linux 8.3 Release Notes linked from the References section.



Summary


Solution

For details on how to apply this update, which includes the changes described in this advisory, refer to:
https://access.redhat.com/articles/11258

References

https://access.redhat.com/security/cve/CVE-2019-5018 https://access.redhat.com/security/cve/CVE-2019-16168 https://access.redhat.com/security/cve/CVE-2019-20218 https://access.redhat.com/security/cve/CVE-2020-6405 https://access.redhat.com/security/cve/CVE-2020-9327 https://access.redhat.com/security/cve/CVE-2020-13630 https://access.redhat.com/security/cve/CVE-2020-13631 https://access.redhat.com/security/cve/CVE-2020-13632 https://access.redhat.com/security/updates/classification/#moderate https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.3_release_notes/

Package List

Red Hat Enterprise Linux AppStream (v. 8):
aarch64: lemon-3.26.0-11.el8.aarch64.rpm lemon-debuginfo-3.26.0-11.el8.aarch64.rpm sqlite-analyzer-debuginfo-3.26.0-11.el8.aarch64.rpm sqlite-debuginfo-3.26.0-11.el8.aarch64.rpm sqlite-debugsource-3.26.0-11.el8.aarch64.rpm sqlite-libs-debuginfo-3.26.0-11.el8.aarch64.rpm sqlite-tcl-debuginfo-3.26.0-11.el8.aarch64.rpm
ppc64le: lemon-3.26.0-11.el8.ppc64le.rpm lemon-debuginfo-3.26.0-11.el8.ppc64le.rpm sqlite-analyzer-debuginfo-3.26.0-11.el8.ppc64le.rpm sqlite-debuginfo-3.26.0-11.el8.ppc64le.rpm sqlite-debugsource-3.26.0-11.el8.ppc64le.rpm sqlite-libs-debuginfo-3.26.0-11.el8.ppc64le.rpm sqlite-tcl-debuginfo-3.26.0-11.el8.ppc64le.rpm
s390x: lemon-3.26.0-11.el8.s390x.rpm lemon-debuginfo-3.26.0-11.el8.s390x.rpm sqlite-analyzer-debuginfo-3.26.0-11.el8.s390x.rpm sqlite-debuginfo-3.26.0-11.el8.s390x.rpm sqlite-debugsource-3.26.0-11.el8.s390x.rpm sqlite-libs-debuginfo-3.26.0-11.el8.s390x.rpm sqlite-tcl-debuginfo-3.26.0-11.el8.s390x.rpm
x86_64: lemon-3.26.0-11.el8.x86_64.rpm lemon-debuginfo-3.26.0-11.el8.x86_64.rpm sqlite-analyzer-debuginfo-3.26.0-11.el8.x86_64.rpm sqlite-debuginfo-3.26.0-11.el8.x86_64.rpm sqlite-debugsource-3.26.0-11.el8.x86_64.rpm sqlite-libs-debuginfo-3.26.0-11.el8.x86_64.rpm sqlite-tcl-debuginfo-3.26.0-11.el8.x86_64.rpm
Red Hat Enterprise Linux BaseOS (v. 8):
Source: sqlite-3.26.0-11.el8.src.rpm
aarch64: lemon-debuginfo-3.26.0-11.el8.aarch64.rpm sqlite-3.26.0-11.el8.aarch64.rpm sqlite-analyzer-debuginfo-3.26.0-11.el8.aarch64.rpm sqlite-debuginfo-3.26.0-11.el8.aarch64.rpm sqlite-debugsource-3.26.0-11.el8.aarch64.rpm sqlite-devel-3.26.0-11.el8.aarch64.rpm sqlite-libs-3.26.0-11.el8.aarch64.rpm sqlite-libs-debuginfo-3.26.0-11.el8.aarch64.rpm sqlite-tcl-debuginfo-3.26.0-11.el8.aarch64.rpm
noarch: sqlite-doc-3.26.0-11.el8.noarch.rpm
ppc64le: lemon-debuginfo-3.26.0-11.el8.ppc64le.rpm sqlite-3.26.0-11.el8.ppc64le.rpm sqlite-analyzer-debuginfo-3.26.0-11.el8.ppc64le.rpm sqlite-debuginfo-3.26.0-11.el8.ppc64le.rpm sqlite-debugsource-3.26.0-11.el8.ppc64le.rpm sqlite-devel-3.26.0-11.el8.ppc64le.rpm sqlite-libs-3.26.0-11.el8.ppc64le.rpm sqlite-libs-debuginfo-3.26.0-11.el8.ppc64le.rpm sqlite-tcl-debuginfo-3.26.0-11.el8.ppc64le.rpm
s390x: lemon-debuginfo-3.26.0-11.el8.s390x.rpm sqlite-3.26.0-11.el8.s390x.rpm sqlite-analyzer-debuginfo-3.26.0-11.el8.s390x.rpm sqlite-debuginfo-3.26.0-11.el8.s390x.rpm sqlite-debugsource-3.26.0-11.el8.s390x.rpm sqlite-devel-3.26.0-11.el8.s390x.rpm sqlite-libs-3.26.0-11.el8.s390x.rpm sqlite-libs-debuginfo-3.26.0-11.el8.s390x.rpm sqlite-tcl-debuginfo-3.26.0-11.el8.s390x.rpm
x86_64: lemon-debuginfo-3.26.0-11.el8.i686.rpm lemon-debuginfo-3.26.0-11.el8.x86_64.rpm sqlite-3.26.0-11.el8.i686.rpm sqlite-3.26.0-11.el8.x86_64.rpm sqlite-analyzer-debuginfo-3.26.0-11.el8.i686.rpm sqlite-analyzer-debuginfo-3.26.0-11.el8.x86_64.rpm sqlite-debuginfo-3.26.0-11.el8.i686.rpm sqlite-debuginfo-3.26.0-11.el8.x86_64.rpm sqlite-debugsource-3.26.0-11.el8.i686.rpm sqlite-debugsource-3.26.0-11.el8.x86_64.rpm sqlite-devel-3.26.0-11.el8.i686.rpm sqlite-devel-3.26.0-11.el8.x86_64.rpm sqlite-libs-3.26.0-11.el8.i686.rpm sqlite-libs-3.26.0-11.el8.x86_64.rpm sqlite-libs-debuginfo-3.26.0-11.el8.i686.rpm sqlite-libs-debuginfo-3.26.0-11.el8.x86_64.rpm sqlite-tcl-debuginfo-3.26.0-11.el8.i686.rpm sqlite-tcl-debuginfo-3.26.0-11.el8.x86_64.rpm
These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from https://access.redhat.com/security/team/key/


Severity
Advisory ID: RHSA-2020:4442-01
Product: Red Hat Enterprise Linux
Advisory URL: https://access.redhat.com/errata/RHSA-2020:4442
Issued Date: : 2020-11-03
CVE Names: CVE-2019-5018 CVE-2019-16168 CVE-2019-20218 CVE-2020-6405 CVE-2020-9327 CVE-2020-13630 CVE-2020-13631 CVE-2020-13632

Topic

An update for sqlite is now available for Red Hat Enterprise Linux 8.Red Hat Product Security has rated this update as having a security impactof Moderate. A Common Vulnerability Scoring System (CVSS) base score, whichgives a detailed severity rating, is available for each vulnerability fromthe CVE link(s) in the References section.


Topic


 

Relevant Releases Architectures

Red Hat Enterprise Linux AppStream (v. 8) - aarch64, ppc64le, s390x, x86_64

Red Hat Enterprise Linux BaseOS (v. 8) - aarch64, noarch, ppc64le, s390x, x86_64


Bugs Fixed

1708301 - CVE-2019-5018 sqlite: Use-after-free in window function leading to remote code execution

1768986 - CVE-2019-16168 sqlite: Division by zero in whereLoopAddBtreeIndex in sqlite3.c

1791313 - CVE-2019-20218 sqlite: selectExpander in select.c proceeds with WITH stack unwinding even after a parsing error

1801181 - CVE-2020-6405 sqlite: Out-of-bounds read in SELECT with ON/USING clause

1809315 - CVE-2020-9327 sqlite: NULL pointer dereference and segmentation fault because of generated column optimizations

1841562 - CVE-2020-13630 sqlite: Use-after-free in fts3EvalNextRow in ext/fts3/fts3.c

1841568 - CVE-2020-13631 sqlite: Virtual table can be renamed into the name of one of its shadow tables

1841574 - CVE-2020-13632 sqlite: NULL pointer dereference in ext/fts3/fts3_snippet.c via a crafted matchinfo() query


Related News