psf/black: ReDoS via the lines_with_leading_tabs_expanded() function in strings.py file
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| n/a | black | affected |
|
No data.
| Package | CPE | Advisory | Released Date |
|---|---|---|---|
| Red Hat Ansible Automation Platform 2.4 for RHEL 8 | |||
| python3x-black-0:22.8.0-2.el8ap | cpe:/a:redhat:ansible_automation_platform:2.4::el8 | RHSA-2024:3781 | 2024-06-10T00:00:00Z |
| Red Hat Ansible Automation Platform 2.4 for RHEL 9 | |||
| python-black-0:22.8.0-2.el9ap | cpe:/a:redhat:ansible_automation_platform:2.4::el9 | RHSA-2024:3781 | 2024-06-10T00:00:00Z |
No data available yet.
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2024-0019 | 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 exploit this vulnerability by crafting a malicious input that causes a denial of service.\r\rExploiting this vulnerability is possible when running Black on untrusted input, or if you habitually put thousands of leading tab characters in your docstrings. |
Github GHSA |
GHSA-fj7x-q9j7-g6q6 | Black vulnerable to Regular Expression Denial of Service (ReDoS) |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.979% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
epss
|
epss
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
epss
|
epss
|