Debian DLA-3425-1 : sqlparse - LTS security update

high Nessus Plugin ID 175929

Synopsis

The remote Debian host is missing a security-related update.

Description

The remote Debian 10 host has packages installed that are affected by a vulnerability as referenced in the dla-3425 advisory.

- 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. (CVE-2023-30608)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade the sqlparse packages.

For Debian 10 buster, this problem has been fixed in version 0.2.4-1+deb10u1.

See Also

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1034615

https://security-tracker.debian.org/tracker/source-package/sqlparse

https://www.debian.org/lts/security/2023/dla-3425

https://security-tracker.debian.org/tracker/CVE-2023-30608

https://packages.debian.org/source/buster/sqlparse

Plugin Details

Severity: High

ID: 175929

File Name: debian_DLA-3425.nasl

Version: 1.0

Type: local

Agent: unix

Published: 5/17/2023

Updated: 5/17/2023

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:C

CVSS Score Source: CVE-2023-30608

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:pypy-sqlparse, p-cpe:/a:debian:debian_linux:python-sqlparse, p-cpe:/a:debian:debian_linux:python-sqlparse-doc, p-cpe:/a:debian:debian_linux:python3-sqlparse, p-cpe:/a:debian:debian_linux:sqlformat, cpe:/o:debian:debian_linux:10.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Ease: No known exploits are available

Patch Publication Date: 5/16/2023

Vulnerability Publication Date: 4/18/2023

Reference Information

CVE: CVE-2023-30608