Vulnerability · Published Dec 25, 2023 · Assigned by VulDB
CVE-2023-7104SQLite SQLite3 make alltest sqlite3session.c sessionReadRecord heap-based overflow
Medium 5.5
In plain English
A medium-severity heap buffer overflow in SQLite3 from SQLite. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.5% (higher than 74% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
A vulnerability was found in SQLite SQLite3 up to 3.43.0 and classified as critical. This issue affects the function sessionReadRecord of the file ext/session/sqlite3session.c of the component make alltest Handler. The manipulation leads to heap-based buffer overflow. It is recommended to apply a patch to fix this issue. The associated identifier of this vulnerability is VDB-248999.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | lemon | 3.26.0-19.el8_9 | ALSA-2024:0253 |
| AlmaLinux:8 | sqlite | 3.26.0-19.el8_9 | ALSA-2024:0253 |
| AlmaLinux:9 | sqlite | 3.34.1-7.el9_3 | ALSA-2024:0465 |
| AlmaLinux:8 | sqlite-devel | 3.26.0-19.el8_9 | ALSA-2024:0253 |
| AlmaLinux:9 | sqlite-devel | 3.34.1-7.el9_3 | ALSA-2024:0465 |
| AlmaLinux:8 | sqlite-doc | 3.26.0-19.el8_9 | ALSA-2024:0253 |
| AlmaLinux:8 | sqlite-libs | 3.26.0-19.el8_9 | ALSA-2024:0253 |
| AlmaLinux:9 | sqlite-libs | 3.34.1-7.el9_3 | ALSA-2024:0465 |
| Alpine:v3.20 | qt5-qtwebengine | 5.15.16-r7 | ALPINE-CVE-2023-7104 |
| Alpine:v3.21 | qt5-qtwebengine | 5.15.16-r7 | ALPINE-CVE-2023-7104 |
| Alpine:v3.22 | qt5-qtwebengine | 5.15.16-r7 | ALPINE-CVE-2023-7104 |
| Alpine:v3.23 | qt5-qtwebengine | 5.15.16-r7 | ALPINE-CVE-2023-7104 |
| Alpine:v3.20 | qt6-qtwebengine | 6.6.3-r1 | ALPINE-CVE-2023-7104 |
| Alpine:v3.21 | qt6-qtwebengine | 6.6.3-r1 | ALPINE-CVE-2023-7104 |
| Alpine:v3.22 | qt6-qtwebengine | 6.6.3-r1 | ALPINE-CVE-2023-7104 |
| Alpine:v3.23 | qt6-qtwebengine | 6.6.3-r1 | ALPINE-CVE-2023-7104 |
| Alpine:v3.24 | qt6-qtwebengine | 6.6.3-r1 | ALPINE-CVE-2023-7104 |
| Debian:12 | sqlite3 | 3.40.1-2+deb12u1 | DEBIAN-CVE-2023-7104 |
| Debian:13 | sqlite3 | 3.43.1-1 | DEBIAN-CVE-2023-7104 |
| Debian:14 | sqlite3 | 3.43.1-1 | DEBIAN-CVE-2023-7104 |
| Rocky Linux:8 | sqlite | 0:3.26.0-19.el8_9 | RLSA-2024:0253 |
| Rocky Linux:9 | sqlite | 0:3.34.1-7.el9_3 | RLSA-2024:0465 |
| Ubuntu:22.04:LTS | sqlite3 | 3.37.2-2ubuntu0.3 | UBUNTU-CVE-2023-7104 |
| Ubuntu:22.04:LTS | sqlite3 | 3.37.2-2ubuntu0.3 | USN-6566-1 |
Affected products (as reported)
Weakness: CWE-122 · Vector: CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
References
- https://vuldb.com/?id.248999 vdb-entry, technical-description
- https://vuldb.com/?ctiid.248999 signature, permissions-required
- https://sqlite.org/forum/forumpost/5bcbf4571c related
- https://sqlite.org/src/info/0e4e7a05c4204b47 patch
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/D6C2HN4T2S6GYNTAUXLH45LQZHK7QPHP/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AYONA2XSNFMXLAW4IHLFI5UVV3QRNG5K/
- https://security.netapp.com/advisory/ntap-20240112-0008/
- https://lists.debian.org/debian-lts-announce/2024/09/msg00050.html
- https://cert-portal.siemens.com/productcert/html/ssa-794697.html
- https://cert-portal.siemens.com/productcert/html/ssa-000297.html
- https://cert-portal.siemens.com/productcert/html/ssa-915275.html
- https://cert-portal.siemens.com/productcert/html/ssa-277137.html