CVE-2021-32839
2 advisories.
PyPI/sqlparse CVE-2021-32839: high 7.5, EPSS 2.34%
StripComments filter contains a regular expression that is vulnerable to ReDOS (Regular Expression Denial of Service)
Action: Upgrade sqlparse to 0.4.2 or later.
pip install sqlparse==0.4.2Affected
| introduced | fixed | last affected |
|---|---|---|
| 0.4.0 | 0.4.2 | - |
Fixed versions
| 0.4.2 |
Sources
- osv: GHSA-p5w8-wqhj-9hhf
- https://github.com/andialbrecht/sqlparse/security/advisories/GHSA-p5w8-wqhj-9hhf
- https://nvd.nist.gov/vuln/detail/CVE-2021-32839
- https://github.com/andialbrecht/sqlparse/commit/8238a9e450ed1524e40cb3a8b0b3c00606903aeb
- https://github.com/andialbrecht/sqlparse
- https://github.com/pypa/advisory-database/tree/main/vulns/sqlparse/PYSEC-2021-333.yaml
- https://lists.debian.org/debian-lts-announce/2024/12/msg00022.html
- https://securitylab.github.com/advisories/GHSL-2021-107-andialbrecht-sqlparse
CVE-2021-32839 · published · modified · JSON
PyPI/sqlparse CVE-2021-32839: unknown, EPSS 2.34%
sqlparse is a non-validating SQL parser module for Python. In sqlparse versions 0.4.0 and 0.4.1 there is a regular Expression Denial of Service in sqlparse vulnerability. The regular expression may ca
Action: Upgrade sqlparse to 0.4.2 or later.
pip install sqlparse==0.4.2Affected
| introduced | fixed | last affected |
|---|---|---|
| 0.4.0 | 0.4.2 | - |
Fixed versions
| 0.4.2 |
Sources
- osv: PYSEC-2021-333
- https://github.com/andialbrecht/sqlparse/commit/8238a9e450ed1524e40cb3a8b0b3c00606903aeb
- https://github.com/andialbrecht/sqlparse/security/advisories/GHSA-p5w8-wqhj-9hhf
CVE-2021-32839 · published · modified · JSON