Advisory

UBUNTU-CVE-2023-30608

Also known as: CVE-2023-30608

Summary

The record has no summary.

Details

sqlparse is a non-validating SQL parser module for Python. In affected versions the SQL parser contains a regular expression that is vulnerable to ReDoS (Regular Expression Denial of Service). This issue was introduced by commit e75e358. The vulnerability may lead to Denial of Service (DoS). This issues has been fixed in sqlparse 0.4.4 by commit c457abd5f. Users are advised to upgrade. There are no known workarounds for this issue.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2023-04-18 22:15 UTC
Modified
2026-02-04 02:26 UTC

Affected packages and fixes

sqlparse

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 0.2.4-0.1ubuntu0.1 (ecosystem)

Fixed versions

0.2.4-0.1ubuntu0.1

Fix

  • Fixed version 0.2.4-0.1ubuntu0.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

sqlparse

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 0.2.4-3ubuntu0.1 (ecosystem)

Fixed versions

0.2.4-3ubuntu0.1

Fix

  • Fixed version 0.2.4-3ubuntu0.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

sqlparse

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 0.4.2-1ubuntu0.22.04.1 (ecosystem)

Fixed versions

0.4.2-1ubuntu0.22.04.1

Fix

  • Fixed version 0.4.2-1ubuntu0.22.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences