A flaw was found in Apache Kafka. Due to improper input validation during protocol request parsing, the service pre-allocates disproportionately large memory collections based on the sender's declared array element count without verifying that the request buffer contains sufficient data. A remote attacker can exploit this vulnerability by sending requests specifying excessively large array lengths, forcing substantial memory allocation before authorization checks occur. This excessive allocation can exhaust broker heap memory and crash the service, resulting in a Denial of Service (DoS).
Exploitability
AV:NAC:LPR:NUI:NScope
S:UImpact
C:NI:NA:H7.5/CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H