csirt@kutim:~/threat-intel/cve/CVE-2024-21503

Katalog CVE

CVSS 5.3 · Medium EPSS 0,98%

Kerentanan Inefficient Regular Expression Complexity. Skor CVSS 3.1 5.3 (Medium) menurut snyk.io.

Deskripsi (NVD)

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. Exploiting this vulnerability is possible when running Black on untrusted input, or if you habitually put thousands of leading tab characters in your docstrings.

Rincian

Terbit di NVD
19 Maret 2024
Terakhir diubah
17 Juni 2026
Status NVD
Deferred
CVSS 3.1
5.3 (Medium), sumber snyk.io
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L · uraikan di kalkulator
Jenis kelemahan (CWE)
CWE-1333: Inefficient Regular Expression Complexity
CWE-75: Failure to Sanitize Special Elements into a Different Plane (Special Element Injection)
EPSS (30 hari)
0,98% peluang dieksploitasi; lebih tinggi dari 61,2% CVE lain

Produk dan versi terdampak

NVD belum mencantumkan data produk (CPE) untuk CVE ini. Produk yang terdampak biasanya disebut di deskripsi dan di advisory vendor pada daftar referensi.

Referensi dan perbaikan

Sumber: NVD · CVE.org · EPSS. Halaman ini disusun otomatis dari data tersebut; pembaruan terakhir 5 Okt 2026, 20:10 WITA. Kalau sistem di Perangkat Daerah memakai produk ini dan butuh bantuan, laporkan lewat kanal pelaporan.