{"id":"UBUNTU-CVE-2023-7104","details":"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.","modified":"2026-04-22T17:29:35.870649Z","published":"2023-12-29T00:00:00Z","related":["USN-6566-1","USN-6566-2"],"upstream":["CVE-2023-7104"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-7104"},{"type":"REPORT","url":"https://sqlite.org/forum/forumpost/5bcbf4571c"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6566-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2023-7104"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6566-2"}],"affected":[{"package":{"name":"sqlite3","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/sqlite3@3.22.0-1ubuntu0.7+esm1?arch=source&distro=esm-infra/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.22.0-1ubuntu0.7+esm1"}]}],"versions":["3.19.3-3","3.20.1-2","3.21.0-1","3.22.0-1","3.22.0-1ubuntu0.1","3.22.0-1ubuntu0.2","3.22.0-1ubuntu0.3","3.22.0-1ubuntu0.4","3.22.0-1ubuntu0.5","3.22.0-1ubuntu0.6","3.22.0-1ubuntu0.7"],"ecosystem_specific":{"binaries":[{"binary_version":"3.22.0-1ubuntu0.7+esm1","binary_name":"lemon"},{"binary_version":"3.22.0-1ubuntu0.7+esm1","binary_name":"libsqlite3-0"},{"binary_version":"3.22.0-1ubuntu0.7+esm1","binary_name":"libsqlite3-tcl"},{"binary_version":"3.22.0-1ubuntu0.7+esm1","binary_name":"sqlite3"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-7104.json"}},{"package":{"name":"sqlite3","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/sqlite3@3.31.1-4ubuntu0.6?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.31.1-4ubuntu0.6"}]}],"versions":["3.29.0-2","3.30.1-1","3.30.1-1ubuntu1","3.31.1-1ubuntu1","3.31.1-3","3.31.1-4","3.31.1-4ubuntu0.1","3.31.1-4ubuntu0.2","3.31.1-4ubuntu0.3","3.31.1-4ubuntu0.4","3.31.1-4ubuntu0.5"],"ecosystem_specific":{"binaries":[{"binary_version":"3.31.1-4ubuntu0.6","binary_name":"lemon"},{"binary_version":"3.31.1-4ubuntu0.6","binary_name":"libsqlite3-0"},{"binary_version":"3.31.1-4ubuntu0.6","binary_name":"libsqlite3-tcl"},{"binary_version":"3.31.1-4ubuntu0.6","binary_name":"sqlite3"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-7104.json"}},{"package":{"name":"sqlite3","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/sqlite3@3.37.2-2ubuntu0.3?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.37.2-2ubuntu0.3"}]}],"versions":["3.35.5-1","3.36.0-2","3.37.2-2","3.37.2-2ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_version":"3.37.2-2ubuntu0.3","binary_name":"lemon"},{"binary_version":"3.37.2-2ubuntu0.3","binary_name":"libsqlite3-0"},{"binary_version":"3.37.2-2ubuntu0.3","binary_name":"libsqlite3-tcl"},{"binary_version":"3.37.2-2ubuntu0.3","binary_name":"sqlite3"},{"binary_version":"3.37.2-2ubuntu0.3","binary_name":"sqlite3-tools"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-7104.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"},{"type":"Ubuntu","score":"medium"}]}