You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Vulnerable Library - sqlparse-0.4.2-py3-none-any.whl
A non-validating SQL parser.
Library home page: https://files.pythonhosted.org/packages/05/40/d836d55fb3f467243ee839ab7b814822fda522cd395fa41e282684e71ee5/sqlparse-0.4.2-py3-none-any.whl
Path to dependency file: /requirements/requirements.txt
Path to vulnerable library: /requirements/requirements.txt,/requirements/requirements.txt
Vulnerabilities
**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation
Details
CVE-2024-4340
Vulnerable Library - sqlparse-0.4.2-py3-none-any.whl
A non-validating SQL parser.
Library home page: https://files.pythonhosted.org/packages/05/40/d836d55fb3f467243ee839ab7b814822fda522cd395fa41e282684e71ee5/sqlparse-0.4.2-py3-none-any.whl
Path to dependency file: /requirements/requirements.txt
Path to vulnerable library: /requirements/requirements.txt,/requirements/requirements.txt
Dependency Hierarchy:
Found in base branch: main
Vulnerability Details
Passing a heavily nested list to sqlparse.parse() leads to a Denial of Service due to RecursionError.
Publish Date: 2024-04-30
URL: CVE-2024-4340
CVSS 3 Score Details (7.5)
Base Score Metrics:
Suggested Fix
Type: Upgrade version
Origin: https://www.cve.org/CVERecord?id=CVE-2024-4340
Release Date: 2024-04-30
Fix Resolution: sqlparse - 0.5.0
Step up your Open Source Security Game with Mend here
CVE-2023-30608
Vulnerable Library - sqlparse-0.4.2-py3-none-any.whl
A non-validating SQL parser.
Library home page: https://files.pythonhosted.org/packages/05/40/d836d55fb3f467243ee839ab7b814822fda522cd395fa41e282684e71ee5/sqlparse-0.4.2-py3-none-any.whl
Path to dependency file: /requirements/requirements.txt
Path to vulnerable library: /requirements/requirements.txt,/requirements/requirements.txt
Dependency Hierarchy:
Found in base branch: main
Vulnerability 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 commitc457abd5f
. Users are advised to upgrade. There are no known workarounds for this issue.Publish Date: 2023-04-18
URL: CVE-2023-30608
CVSS 3 Score Details (7.5)
Base Score Metrics:
Suggested Fix
Type: Upgrade version
Origin: GHSA-rrm6-wvj7-cwh2
Release Date: 2023-04-18
Fix Resolution: 0.4.4
Step up your Open Source Security Game with Mend here
The text was updated successfully, but these errors were encountered: