csirt@kutim:~/threat-intel/cve/CVE-2021-32839

Katalog CVE

CVSS 7.5 · High EPSS 2,3%

Kerentanan Uncontrolled Resource Consumption pada sqlparse project sqlparse. Skor CVSS 3.1 7.5 (High) menurut github.com.

Deskripsi (NVD)

sqlparse is a non-validating SQL parser module for Python. In sqlparse versions 0.4.0 and 0.4.1 there is a regular Expression Denial of Service in sqlparse vulnerability. The regular expression may cause exponential backtracking on strings containing many repetitions of '\r\n' in SQL comments. Only the formatting feature that removes comments from SQL statements is affected by this regular expression. As a workaround don't use the sqlformat.format function with keyword strip_comments=True or the --strip-comments command line flag when using the sqlformat command line tool. The issues has been fixed in sqlparse 0.4.2.

Rincian

Terbit di NVD
20 September 2021
Terakhir diubah
17 Juni 2026
Status NVD
Modified
CVSS 3.1
7.5 (High), sumber github.com
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H · uraikan di kalkulator
Jenis kelemahan (CWE)
CWE-400: Uncontrolled Resource Consumption
EPSS (30 hari)
2,3% peluang dieksploitasi; lebih tinggi dari 83,1% CVE lain

Produk dan versi terdampak

VendorProdukVersi terdampak
sqlparse project sqlparse Versi 0.4.0 hingga sebelum 0.4.2

> Data dari konfigurasi CPE di NVD.

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.