sqlparse: CVE-2024-4340: sqlparse parsing heavily nested list leads to Denial of Service

Related Vulnerabilities: CVE-2024-4340  

Debian Bug report logs - #1070148
sqlparse: CVE-2024-4340: sqlparse parsing heavily nested list leads to Denial of Service

version graph

Reported by: Salvatore Bonaccorso <carnil@debian.org>

Date: Tue, 30 Apr 2024 21:21:01 UTC

Severity: important

Tags: security, upstream

Found in version sqlparse/0.4.4-1

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, carnil@debian.org, team@security.debian.org, Andrii Senkovych <andrii@senkovych.com>:
Bug#1070148; Package src:sqlparse. (Tue, 30 Apr 2024 21:21:04 GMT) (full text, mbox, link).


Acknowledgement sent to Salvatore Bonaccorso <carnil@debian.org>:
New Bug report received and forwarded. Copy sent to carnil@debian.org, team@security.debian.org, Andrii Senkovych <andrii@senkovych.com>. (Tue, 30 Apr 2024 21:21:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Salvatore Bonaccorso <carnil@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: sqlparse: CVE-2024-4340: sqlparse parsing heavily nested list leads to Denial of Service
Date: Tue, 30 Apr 2024 23:16:59 +0200
Source: sqlparse
Version: 0.4.4-1
Severity: important
Tags: security upstream
X-Debbugs-Cc: carnil@debian.org, Debian Security Team <team@security.debian.org>

Hi,

The following vulnerability was published for sqlparse.

CVE-2024-4340[0]:
| Passing a heavily nested list to sqlparse.parse() leads to a Denial
| of Service due to RecursionError.


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2024-4340
    https://www.cve.org/CVERecord?id=CVE-2024-4340
[1] https://github.com/advisories/GHSA-2m57-hf25-phgg
[2] https://github.com/andialbrecht/sqlparse/commit/b4a39d9850969b4e1d6940d32094ee0b42a2cf03

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore



Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed May 1 11:54:58 2024; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.