UbuntuUpdates.org

Package "sqlparse"

Name: sqlparse

Description:

This package is just an umbrella for a group of other packages, it has no description.
Description samples from packages in group:

  • SQL formatting utility

Latest version: 0.4.2-1ubuntu0.22.04.3
Release: jammy (22.04)
Level: security
Repository: universe

Links



Other versions of "sqlparse" in Jammy

Repository Area Version
base main 0.4.2-1
base universe 0.4.2-1
security main 0.4.2-1ubuntu0.22.04.3
updates main 0.4.2-1ubuntu0.22.04.3
updates universe 0.4.2-1ubuntu0.22.04.3
PPA: Postgresql 0.2.4-0.1~pgdg16.04+1

Packages in group

Deleted packages are displayed in grey.


Changelog

Version: 0.4.2-1ubuntu0.22.04.3 2026-09-23 16:07:35 UTC

sqlparse (0.4.2-1ubuntu0.22.04.3) jammy-security; urgency=medium

  * SECURITY UPDATE: Uncontrolled CPU consumption (algorithmic complexity)
    - debian/patches/CVE-2026-54284.patch: set a group's value from its
      child tokens instead of recomputing it via a full recursive
      flatten on every group construction in sqlparse/sql.py.
    - CVE-2026-54284
  * SECURITY UPDATE: Uncontrolled CPU consumption (algorithmic complexity)
    - debian/patches/CVE-2026-71491.patch: stop rescanning the remaining
      token tail once per comment token in group_comments in
      sqlparse/engine/grouping.py.
    - CVE-2026-71491
  * SECURITY UPDATE: Uncontrolled CPU consumption (ReDoS)
    - debian/patches/CVE-2026-59893.patch: bound backtracking when
      matching dollar-quoted literals and multiline comments in
      sqlparse/keywords.py, sqlparse/lexer.py and sqlparse/utils.py.
    - CVE-2026-59893

 -- Chrisa Oikonomou Tue, 22 Sep 2026 12:40:58 +0300

Source diff to previous version
CVE-2026-54284 sqlparse is a non-validating SQL parser module for Python. Prior to 0.6.0, TokenList construction and string conversion in sqlparse/sql.py repeatedly
CVE-2026-71491 sqlparse is a non-validating SQL parser module for Python. Prior to 0.6.0, group_comments in sqlparse/engine/grouping.py repeatedly rescans comment-o
CVE-2026-59893 sqlparse is a non-validating SQL parser module for Python. Prior to 0.6.0, SQL_REGEX in sqlparse/keywords.py and the per-position loop in sqlparse/le

Version: 0.4.2-1ubuntu0.22.04.2 2024-05-13 15:06:58 UTC

  sqlparse (0.4.2-1ubuntu0.22.04.2) jammy-security; urgency=medium

  * SECURITY UPDATE: Denial of service
    - debian/patches/CVE-2024-4340.patch: raise SQLParseError instead
      of RecursionError in sqlparse/sql.py, tests/test_regressions.py.
    - CVE-2024-4340

 -- Leonidas Da Silva Barbosa <email address hidden> Wed, 08 May 2024 10:18:32 -0300

Source diff to previous version
CVE-2024-4340 Passing a heavily nested list to sqlparse.parse() leads to a Denial of Service due to RecursionError.

Version: 0.4.2-1ubuntu0.22.04.1 2023-05-10 14:07:32 UTC

  sqlparse (0.4.2-1ubuntu0.22.04.1) jammy-security; urgency=medium

  * SECURITY UPDATE: ReDoS
    - debian/patches/CVE-2023-30608.patch: remove unnecessary parts
      in regex for bad escaping in sqlparse/keywords.py.
    - CVE-2023-30608

 -- Leonidas Da Silva Barbosa <email address hidden> Thu, 04 May 2023 09:58:06 -0300




About   -   Send Feedback to @ubuntu_updates