{"id":"CVE-2021-20223","aliases":["CLSA-2022-1665073456","CLSA-2022-1665073587","EUVD-2021-7663","GHSA-r7v8-jjhj-75h7","OESA-2022-1876","OESA-2022-1877","UBUNTU-CVE-2021-20223","USN-5615-1"],"status":"rejected","title":"An issue was found in fts5UnicodeTokenize() in ext/fts5/fts5_tokenize.c in Sqlite. A unicode61...","description":"DO NOT USE THIS CANDIDATE NUMBER. ConsultIDs: none. Reason: This candidate was withdrawn by its CNA. Further investigation showed that it was not a security issue. Notes: none.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","from":"ghsa"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2022-08-25T20:15:00Z","modified":"2026-08-18T01:17:17Z","fixes":[{"ecosystem":"openEuler:20.03-LTS-SP1","package":"sqlite","fixed_in":["3.32.3-5.oe1"],"sources":["osv"]},{"ecosystem":"openEuler:20.03-LTS-SP3","package":"sqlite","fixed_in":["3.32.3-5.oe1"],"sources":["osv"]},{"ecosystem":"Ubuntu:20.04:LTS","package":"sqlite3","fixed_in":["3.31.1-4ubuntu0.4"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"TuxCare:CentOS:8.4","package":"lemon","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.26.0-15.el8.tuxcare.els1"}]}],"bundled":2},{"source":"osv","ecosystem":"TuxCare:CentOS:8.4","package":"sqlite","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.26.0-15.el8.tuxcare.els1"}]}],"bundled":2},{"source":"osv","ecosystem":"TuxCare:CentOS:8.4","package":"sqlite-analyzer","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.26.0-15.el8.tuxcare.els1"}]}],"bundled":2},{"source":"osv","ecosystem":"TuxCare:CentOS:8.4","package":"sqlite-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.26.0-15.el8.tuxcare.els1"}]}],"bundled":2},{"source":"osv","ecosystem":"TuxCare:CentOS:8.4","package":"sqlite-doc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.26.0-15.el8.tuxcare.els1"}]}],"bundled":2},{"source":"osv","ecosystem":"TuxCare:CentOS:8.4","package":"sqlite-libs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.26.0-15.el8.tuxcare.els1"}]}],"bundled":2},{"source":"osv","ecosystem":"TuxCare:CentOS:8.4","package":"sqlite-tcl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.26.0-15.el8.tuxcare.els1"}]}],"bundled":2},{"source":"osv","ecosystem":"TuxCare:CentOS:8.5","package":"lemon","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.26.0-15.el8.tuxcare.els1"}]}],"bundled":2},{"source":"osv","ecosystem":"TuxCare:CentOS:8.5","package":"sqlite","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.26.0-15.el8.tuxcare.els1"}]}],"bundled":2},{"source":"osv","ecosystem":"TuxCare:CentOS:8.5","package":"sqlite-analyzer","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.26.0-15.el8.tuxcare.els1"}]}],"bundled":2},{"source":"osv","ecosystem":"TuxCare:CentOS:8.5","package":"sqlite-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.26.0-15.el8.tuxcare.els1"}]}],"bundled":2},{"source":"osv","ecosystem":"TuxCare:CentOS:8.5","package":"sqlite-doc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.26.0-15.el8.tuxcare.els1"}]}],"bundled":2},{"source":"osv","ecosystem":"TuxCare:CentOS:8.5","package":"sqlite-libs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.26.0-15.el8.tuxcare.els1"}]}],"bundled":2},{"source":"osv","ecosystem":"TuxCare:CentOS:8.5","package":"sqlite-tcl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.26.0-15.el8.tuxcare.els1"}]}],"bundled":2},{"source":"osv","ecosystem":"openEuler:20.03-LTS-SP1","package":"sqlite","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.32.3-5.oe1"}]}]},{"source":"osv","ecosystem":"openEuler:20.03-LTS-SP3","package":"sqlite","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.32.3-5.oe1"}]}]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"sqlite3","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.31.1-4ubuntu0.4"}]}],"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"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"sqlite3","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.22.0-1ubuntu0.6"}]}],"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"],"bundled":3},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"sqlite3","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.31.1-4ubuntu0.4"}]}],"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"],"bundled":3}],"references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-20223","tags":["advisory"]},{"url":"https://github.com/sqlite/sqlite/commit/d1d43efa4fb0f2098c0e2c5bf2e807c58d5ec05b"},{"url":"https://sqlite.org/src/info/b7b7bde9b7a03665"},{"url":"https://www.sqlite.org/forum/forumpost/09609d7e22","tags":["report"]},{"url":"https://github.com/advisories/GHSA-r7v8-jjhj-75h7"},{"url":"https://errata.cloudlinux.com/centos8.4-els/CLSA-2022-1665073456.html","tags":["advisory"]},{"url":"https://errata.cloudlinux.com/centos8.5-els/CLSA-2022-1665073587.html","tags":["advisory"]},{"url":"https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1876","tags":["advisory"]},{"url":"https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1877","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2021-20223","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-5615-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-20223","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2020-35525","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2020-35527","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2021-20223","description":"DO NOT USE THIS CANDIDATE NUMBER. ConsultIDs: none. Reason: This candidate was withdrawn by its CNA. Further investigation showed that it was not a security issue. Notes: none.","status":"rejected","modified":"2022-11-10T00:00:00Z","updated_at":"2026-11-02T14:32:55.564736Z"}],"euvd":[{"id":"EUVD-2021-7663","description":"An issue was found in fts5UnicodeTokenize() in ext/fts5/fts5_tokenize.c in Sqlite. A unicode61 tokenizer configured to treat unicode \"control-characters\" (class Cc), was treating embedded nul characters as tokens. The issue was fixed in sqlite-3.34.0 and later.","status":"published","published":"2022-08-26T00:03:30Z","modified":"2022-08-29T20:06:48Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-03T03:51:07.142712Z"}],"ghsa":[{"id":"GHSA-r7v8-jjhj-75h7","title":"An issue was found in fts5UnicodeTokenize() in ext/fts5/fts5_tokenize.c in Sqlite. A unicode61...","description":"An issue was found in fts5UnicodeTokenize() in ext/fts5/fts5_tokenize.c in Sqlite. A unicode61 tokenizer configured to treat unicode \"control-characters\" (class Cc), was treating embedded nul characters as tokens. The issue was fixed in sqlite-3.34.0 and later.","status":"published","published":"2022-08-26T00:03:30Z","modified":"2023-01-27T05:00:52Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T14:41:46.4155Z"}],"nvd":[{"id":"CVE-2021-20223","description":"Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultIDs: none. Reason: This candidate was withdrawn by its CNA. Further investigation showed that it was not a security issue. Notes: none.","status":"rejected","published":"2022-08-25T20:15:08.833Z","modified":"2023-11-07T03:29:00.91Z","updated_at":"2026-11-02T14:07:06.906968Z"}],"osv":[{"id":"OESA-2022-1876","title":"sqlite security update","description":"SQLite is a C-language library that implements a small, fast, self-contained,high-reliability, full-featured, SQL database engine. SQLite is the most used database engine in the world. SQLite is built into all mobile phones and most computers and comes bundled inside countless other applications that people use every day.It also include lemon and sqlite3_analyzer and tcl tools.\r\n\r\nSecurity Fix(es):\r\n\r\nAn issue was found in fts5UnicodeTokenize() in ext/fts5/fts5_tokenize.c in Sqlite. A unicode61 tokenizer configured to treat unicode \u0026quot;control-characters\u0026quot; (class Cc), was treating embedded nul characters as tokens. The issue was fixed in sqlite-3.34.0 and later.(CVE-2021-20223)","status":"published","published":"2022-09-01T11:05:09Z","modified":"2026-08-18T01:17:17.027958945Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:52:39.528805Z"},{"id":"OESA-2022-1877","title":"sqlite security update","description":"SQLite is a C-language library that implements a small, fast, self-contained,high-reliability, full-featured, SQL database engine. SQLite is the most used database engine in the world. SQLite is built into all mobile phones and most computers and comes bundled inside countless other applications that people use every day.It also include lemon and sqlite3_analyzer and tcl tools.\r\n\r\nSecurity Fix(es):\r\n\r\nAn issue was found in fts5UnicodeTokenize() in ext/fts5/fts5_tokenize.c in Sqlite. A unicode61 tokenizer configured to treat unicode \u0026quot;control-characters\u0026quot; (class Cc), was treating embedded nul characters as tokens. The issue was fixed in sqlite-3.34.0 and later.(CVE-2021-20223)","status":"published","published":"2022-09-01T11:05:09Z","modified":"2026-08-18T01:16:36.893310555Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:52:39.528805Z"},{"id":"UBUNTU-CVE-2021-20223","description":"Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultIDs: none. Reason: This candidate was withdrawn by its CNA. Further investigation showed that it was not a security issue. Notes: none.","status":"published","published":"2022-08-25T20:15:00Z","modified":"2026-04-22T12:44:52.116848Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:54:25.728622Z"},{"id":"CLSA-2022-1665073456","title":"Fixed CVEs in sqlite: CVE-2020-35525, CVE-2021-20223","description":"- CVE-2021-20223: prevent fts5 tokenizer unicode61 from considering '\\0' to be\n  a token characters, even if other characters of class \"Cc\" are.\n- CVE-2020-35525: fix a potential null pointer dereference.","status":"published","published":"2022-10-06T16:24:16Z","modified":"2026-06-01T00:31:48.489685469Z","updated_at":"2026-11-02T15:43:40.176048Z"},{"id":"CLSA-2022-1665073587","title":"Fixed CVEs in sqlite: CVE-2020-35525, CVE-2021-20223","description":"- CVE-2021-20223: prevent fts5 tokenizer unicode61 from considering '\\0' to be\n  a token characters, even if other characters of class \"Cc\" are.\n- CVE-2020-35525: fix a potential null pointer dereference.","status":"published","published":"2022-10-06T16:26:27Z","modified":"2026-06-01T00:32:38.996857883Z","updated_at":"2026-11-02T15:43:40.176048Z"},{"id":"USN-5615-1","title":"sqlite3 vulnerabilities","description":"It was discovered that SQLite incorrectly handled INTERSEC query\nprocessing. An attacker could use this issue to cause SQLite to crash,\nresulting in a denial of service, or possibly execute arbitrary code.\n(CVE-2020-35525)\n\nIt was discovered that SQLite incorrectly handled ALTER TABLE for views\nthat have a nested FROM clause.  An attacker could use this issue to cause\nSQLite to crash, resulting in a denial of service, or possibly execute\narbitrary code. This issue was only addressed in Ubuntu 20.04 LTS.\n(CVE-2020-35527)\n\nIt was discovered that SQLite incorrectly handled embedded null characters\nwhen tokenizing certain unicode strings. This issue could result in\nincorrect results. This issue only affected Ubuntu 20.04 LTS.\n(CVE-2021-20223)\n","status":"published","published":"2022-09-15T16:53:48Z","modified":"2026-04-22T10:28:01.688011Z","updated_at":"2026-11-02T16:58:16.20937Z"}]}}
