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

Katalog CVE

CVSS 7.5 · High EPSS 2,0%

Kerentanan Stack-based Buffer Overflow pada mongodb. Skor CVSS 3.1 7.5 (High) menurut NVD.

Deskripsi (NVD)

It may be possible to have an extremely long aggregation pipeline in conjunction with a specific stage/operator and cause a stack overflow due to the size of the stack frames used by that stage. If an attacker could cause such an aggregation to occur, they could maliciously crash MongoDB in a DoS attack. This vulnerability affects MongoDB Server v4.4 versions prior to and including 4.4.28, MongoDB Server v5.0 versions prior to 5.0.4 and MongoDB Server v4.2 versions prior to 4.2.16. Workaround: >= v4.2.16 users and all v4.4 users can add the --setParameter internalPipelineLengthLimit=50 instead of the default 1000 to mongod at startup to prevent a crash.

Rincian

Terbit di NVD
12 April 2022
Terakhir diubah
17 Juni 2026
Status NVD
Modified
CVSS 3.1
7.5 (High), sumber NVD
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-121: Stack-based Buffer Overflow
CWE-787: Out-of-bounds Write
EPSS (30 hari)
2,0% peluang dieksploitasi; lebih tinggi dari 80,3% CVE lain

Produk dan versi terdampak

VendorProdukVersi terdampak
mongodb mongodb Versi 4.2.0 hingga sebelum 4.2.16
mongodb mongodb Versi 4.4.0 hingga sebelum 4.4.11
mongodb mongodb Versi 5.0.0 hingga sebelum 5.0.4

> 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.