[USN-6064-1] SQL parse vulnerability

Leonidas S. Barbosa leo.barbosa at canonical.com
Wed May 10 13:55:45 UTC 2023


==========================================================================
Ubuntu Security Notice USN-6064-1
May 10, 2023

sqlparse vulnerability
==========================================================================

A security issue affects these releases of Ubuntu and its derivatives:

- Ubuntu 23.04
- Ubuntu 22.10
- Ubuntu 22.04 LTS
- Ubuntu 20.04 LTS
- Ubuntu 18.04 LTS

Summary:

SQL parse could be made to denial of service if it received
a specially crafted regular expression.

Software Description:
- sqlparse: documentation for non-validating SQL parser in Python

Details:

It was discovered that SQL parse incorrectly handled certain regular expression.
An attacker could possibly use this issue to cause a denial of service.

Update instructions:

The problem can be corrected by updating your system to the following
package versions:

Ubuntu 23.04:
  python3-sqlparse                0.4.2-1ubuntu0.23.04.1

Ubuntu 22.10:
  python3-sqlparse                0.4.2-1ubuntu0.22.10.1

Ubuntu 22.04 LTS:
  python3-sqlparse                0.4.2-1ubuntu0.22.04.1

Ubuntu 20.04 LTS:
  python3-sqlparse                0.2.4-3ubuntu0.1

Ubuntu 18.04 LTS:
  python-sqlparse                 0.2.4-0.1ubuntu0.1

In general, a standard system update will make all the necessary changes.

References:
  https://ubuntu.com/security/notices/USN-6064-1
  CVE-2023-30608

Package Information:
  https://launchpad.net/ubuntu/+source/sqlparse/0.4.2-1ubuntu0.23.04.1
  https://launchpad.net/ubuntu/+source/sqlparse/0.4.2-1ubuntu0.22.10.1
  https://launchpad.net/ubuntu/+source/sqlparse/0.4.2-1ubuntu0.22.04.1
  https://launchpad.net/ubuntu/+source/sqlparse/0.2.4-3ubuntu0.1
  https://launchpad.net/ubuntu/+source/sqlparse/0.2.4-0.1ubuntu0.1

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-security-announce/attachments/20230510/86335c7b/attachment-0001.sig>


More information about the ubuntu-security-announce mailing list