{"id":"DHI-5xhr-edru-m7ez-btbg","summary":"Versions of the package black before 24.3.0 are vulnerable to Regular Expression Denial of Service (ReDoS) via the…","details":"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.","modified":"2026-11-21T12:30:10.067123169Z","published":"2026-11-11T18:26:34Z","upstream":["CVE-2024-21503"],"references":[{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-5xhr-edru-m7ez-btbg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21503"},{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2024-21503"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2024-21503"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-fj7x-q9j7-g6q6"},{"type":"FIX","url":"https://github.com/psf/black/commit/f00093672628d212b8965a8993cee8bedf5fe9b8"},{"type":"WEB","url":"https://github.com/psf/black/releases/tag/24.3.0"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2024-21503"},{"type":"FIX","url":"https://www.cve.org/CVERecord?id=CVE-2024-21503"},{"type":"FIX","url":"https://security.snyk.io/vuln/SNYK-PYTHON-BLACK-6256273"},{"type":"ADVISORY","url":"https://ubuntu.com/security/CVE-2024-21503"},{"type":"ADVISORY","url":"http://people.ubuntu.com/~ubuntu-security/cve/CVE-2024-21503"}],"affected":[{"package":{"name":"datahub-ingestion","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/datahub-ingestion"},"versions":["1.5.0.7-0","1.6.0.1-0","1.6.0.1-1","1.6.0.1-2","1.6.0.1-3","1.6.0.2-0","1.6.0.2-1","1.7.0.10-0","1.7.0.12-0","1.7.0.13-0","1.7.0.14-0","1.7.0.14-1","1.7.0.14-2","1.7.0.16-0","1.7.0.16-1","1.7.0.17-0","1.7.0.17-1","1.7.0.17-2","1.7.0.17-3","1.7.0.18-0","1.7.0.19-0","1.7.0.19-1","1.7.0.19-2","1.7.0.19-3","1.7.0.19-4","1.7.0.19-5","1.7.0.19-6","1.7.0.20-6","1.7.0.20-7","1.7.0.20-8"],"database_specific":{"source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-5xhr-edru-m7ez-btbg.json","owner_kind":"HSP"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}]}