GHSA-fj7x-q9j7-g6q6: Vulnerability
Black vulnerable to Regular Expression Denial of Service (ReDoS)
Published .
Updated .
Affected ranges: introduced 0, fixed 24.3.0.
Fix versions reported by the advisory: 24.3.0.
Severity: MEDIUM.
Known vulnerabilities and malicious package reports for black on PyPI, live from OSV, with CISA KEV exploitation status and EPSS scores.
0 malicious package reports and 4 vulnerabilities returned by OSV. Check a specific version to see which reports apply.
Black vulnerable to Regular Expression Denial of Service (ReDoS)
Published .
Updated .
Affected ranges: introduced 0, fixed 24.3.0.
Fix versions reported by the advisory: 24.3.0.
Severity: MEDIUM.
Black: Arbitrary file writes from unsanitized user input in cache file name
Published .
Updated .
Reported affected releases: 24.10.0, 24.3.0, 24.4.0, 24.4.1, 24.4.2, 24.8.0, 25.1.0, 25.11.0, 25.12.0, 25.9.0, 26.1.0, 26.1a1, 26.3.0.
Affected ranges: introduced 24.3.0, fixed 26.3.1.
Fix versions reported by the advisory: 26.3.1.
Severity: HIGH.
Black is the uncompromising Python code formatter. Black provides a GitHub action for formatting code. This action supports an option, use_pyproject: true, for reading the version of Black to use from the repository pyproject.toml. A malicious pull request could edit pyproject.toml to use a direct …
Published .
Updated .
Affected ranges: introduced 0, fixed 26.3.0.
Fix versions reported by the advisory: 26.3.0.
Severity: CRITICAL.
Black: GitHub Action installs unvalidated required-version from pyproject.toml
Published .
Updated .
Affected ranges: introduced 0, fixed 26.10.1.
Fix versions reported by the advisory: 26.10.1.
Severity: HIGH.
Source: OSV, including OpenSSF malicious-package reports and GitHub advisories. No known report is not proof a package is safe.