PyPI/black CVE-2024-21503: unknown, EPSS 0.98%
Versions of the package black before 24.3.0 are vulnerable to Regular Expression Denial of Service (ReDoS) via the lines_with_leading_tabs_expanded function in the strings.py file. An attacker could e
Action: Upgrade black to 24.3.0 or later.
pip install black==24.3.0Affected
| introduced | fixed | last affected |
|---|---|---|
| 0 | 24.3.0 | - |
Fixed versions
| 24.3.0 |
Sources
- osv: PYSEC-2024-48
- https://security.snyk.io/vuln/SNYK-PYTHON-BLACK-6256273
- https://github.com/psf/black/releases/tag/24.3.0
- https://github.com/psf/black/commit/f00093672628d212b8965a8993cee8bedf5fe9b8
- https://github.com/advisories/GHSA-fj7x-q9j7-g6q6
CVE-2024-21503 · published · modified · JSON