Packages
- sqlparse - documentation for non-validating SQL parser in Python
Details
It was discovered that SQL parse contained multiple algorithmic complexity
flaws when parsing SQL statements with deeply nested parentheses, comments,
or dollar-quoted string literals. An attacker could use this issue to cause
SQL parse to consume excessive CPU resources, resulting in a denial of
service.
It was discovered that SQL parse contained multiple algorithmic complexity
flaws when parsing SQL statements with deeply nested parentheses, comments,
or dollar-quoted string literals. An attacker could use this issue to cause
SQL parse to consume excessive CPU resources, resulting in a denial of
service.
Update instructions
In general, a standard system update will make all the necessary changes.
Learn more about how to get the fixes.The problem can be corrected by updating your system to the following package versions:
| Ubuntu Release | Package Version | ||
|---|---|---|---|
| 26.04 LTS resolute | python3-sqlparse – 0.5.4-1ubuntu0.1 | ||
| 24.04 LTS noble | python3-sqlparse – 0.4.4-1ubuntu0.2 | ||
| 22.04 LTS jammy | python3-sqlparse – 0.4.2-1ubuntu0.22.04.3 | ||
| 20.04 LTS focal | pypy-sqlparse – 0.2.4-3ubuntu0.1+esm1 | ||
| python3-sqlparse – 0.2.4-3ubuntu0.1+esm1 | |||
| 18.04 LTS bionic | pypy-sqlparse – 0.2.4-0.1ubuntu0.1+esm1 | ||
| python-sqlparse – 0.2.4-0.1ubuntu0.1+esm1 | |||
| python3-sqlparse – 0.2.4-0.1ubuntu0.1+esm1 | |||
| 16.04 LTS xenial | pypy-sqlparse – 0.1.18-1ubuntu0.1~esm1 | ||
| python-sqlparse – 0.1.18-1ubuntu0.1~esm1 | |||
| python3-sqlparse – 0.1.18-1ubuntu0.1~esm1 | |||
Reduce your security exposure
Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.