{"id":"USN-6064-1","summary":"sqlparse vulnerability","details":"It was discovered that SQL parse incorrectly handled certain regular expression.\nAn attacker could possibly use this issue to cause a denial of service.\n","modified":"2026-02-10T04:43:07Z","published":"2023-05-10T11:09:44Z","related":["UBUNTU-CVE-2023-30608"],"upstream":["CVE-2023-30608","UBUNTU-CVE-2023-30608"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6064-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-30608"}],"affected":[{"package":{"name":"sqlparse","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/sqlparse@0.2.4-0.1ubuntu0.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.2.4-0.1ubuntu0.1"}]}],"versions":["0.2.2-1","0.2.4-0.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"pypy-sqlparse","binary_version":"0.2.4-0.1ubuntu0.1"},{"binary_name":"python-sqlparse","binary_version":"0.2.4-0.1ubuntu0.1"},{"binary_name":"python3-sqlparse","binary_version":"0.2.4-0.1ubuntu0.1"},{"binary_name":"sqlformat","binary_version":"0.2.4-0.1ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6064-1.json","cves_map":{"cves":[{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2023-30608"}],"ecosystem":"Ubuntu:18.04:LTS"}}},{"package":{"name":"sqlparse","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/sqlparse@0.2.4-3ubuntu0.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.2.4-3ubuntu0.1"}]}],"versions":["0.2.4-1","0.2.4-1build1","0.2.4-2","0.2.4-3"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"pypy-sqlparse","binary_version":"0.2.4-3ubuntu0.1"},{"binary_name":"python3-sqlparse","binary_version":"0.2.4-3ubuntu0.1"},{"binary_name":"sqlformat","binary_version":"0.2.4-3ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6064-1.json","cves_map":{"cves":[{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2023-30608"}],"ecosystem":"Ubuntu:20.04:LTS"}}},{"package":{"name":"sqlparse","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/sqlparse@0.4.2-1ubuntu0.22.04.1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.4.2-1ubuntu0.22.04.1"}]}],"versions":["0.4.1-1ubuntu1","0.4.2-1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"python3-sqlparse","binary_version":"0.4.2-1ubuntu0.22.04.1"},{"binary_name":"sqlformat","binary_version":"0.4.2-1ubuntu0.22.04.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6064-1.json","cves_map":{"cves":[{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2023-30608"}],"ecosystem":"Ubuntu:22.04:LTS"}}}],"schema_version":"1.7.3"}