VDB
GHSA-rrm6-wvj7-cwh2
GHSA-rrm6-wvj7-cwh2
PUBLISHED
CVSS 5.5 MEDIUM
Record from GitHub Advisory Database · Published April 21, 2023
sqlparse is fixed in 0.4.4 (PyPI)
sqlparse contains a regular expression that is vulnerable to Regular Expression Denial of Service
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| sqlparse | PyPI | 0.4.4 |
Risk scores
CVSS 3.1
5.5
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Affected products
| Vendor | Product | Versions |
|---|---|---|
| PyPI | sqlparse | 0.1.15 |
| PyPI | sqlparse | 0.1.15 |
Timeline
- Apr 21, 2023 CVE Published
- Mar 2, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln GHSA-rrm6-wvj7-cwh2
vulnetix vdb fixes GHSA-rrm6-wvj7-cwh2
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/GHSA-rrm6-wvj7-cwh2/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/pypa/advisory-database/tree/main/vulns/sqlparse/PYSEC-2023-87.yaml url
- https://nvd.nist.gov/vuln/detail/CVE-2023-30608 advisory
- https://github.com/andialbrecht/sqlparse package
- https://github.com/andialbrecht/sqlparse/commit/c457abd5f097dd13fb21543381e7cfafe7d31cfb fix
- https://github.com/andialbrecht/sqlparse/security/advisories/GHSA-rrm6-wvj7-cwh2 url
- https://owasp.org/www-community/attacks/Regular_expression_Denial_of_Service_-_ReDoS url
- GitHub Advisory GHSA-rrm6-wvj7-cwh2 vendor-advisory
- https://github.com/andialbrecht/sqlparse/commit/e75e35869473832a1eb67772b1adfee2db11b85a fix
- https://lists.debian.org/debian-lts-announce/2023/05/msg00017.html advisory
- https://lists.debian.org/debian-lts-announce/2024/12/msg00022.html advisory