GHSA-62qf-jcq8-8gxw

Suggest an improvement
Source
https://github.com/advisories/GHSA-62qf-jcq8-8gxw
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/04/GHSA-62qf-jcq8-8gxw/GHSA-62qf-jcq8-8gxw.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-62qf-jcq8-8gxw
Downstream
Withdrawn
2024-05-01T11:08:47Z
Published
2024-04-30T15:30:38Z
Modified
2024-12-04T05:42:18Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Duplicate Advisory: sqlparse parsing heavily nested list leads to Denial of Service
Details

Duplicate Advisory

This advisory has been withdrawn because it is a duplicate of GHSA-2m57-hf25-phgg. This link is maintained to preserve external references.

Original Description

Passing a heavily nested list to sqlparse.parse() leads to a Denial of Service due to RecursionError.

Database specific
{
    "cwe_ids":  [
        "CWE-674"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2024-05-01T11:08:47Z",
    "nvd_published_at":  "2024-04-30T15:15:53Z",
    "severity":  "HIGH"
}
References

Affected packages

PyPI / sqlparse

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.5.0

Affected versions

0.*
0.1.0
0.1.1
0.1.2
0.1.3
0.1.4
0.1.5
0.1.6
0.1.7
0.1.8
0.1.9
0.1.10
0.1.11
0.1.12
0.1.13
0.1.14
0.1.15
0.1.16
0.1.17
0.1.18
0.1.19
0.2.0
0.2.1
0.2.2
0.2.3
0.2.4
0.3.0
0.3.1
0.4.0
0.4.1
0.4.2
0.4.3
0.4.4

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/04/GHSA-62qf-jcq8-8gxw/GHSA-62qf-jcq8-8gxw.json"