kafka-python
Affected
- introduced
0, fixed2.3.2(ecosystem)
Fixed versions
2.3.2
Fix
- Fixed version
2.3.2pip install --upgrade kafka-python==2.3.2
Advisory
Also known as: CVE-2026-10143, PYSEC-2026-2191
kafka-python vulnerable to denial of service through an unbounded SCRAM iteration count
kafka-python prior to 2.3.2 contains a denial-of-service vulnerability in SCRAM authentication handling that allows a malicious or machine-in-the-middle broker to freeze the client event loop by supplying an excessively large iteration count. In scram.py, ScramClient.process_server_first_message() passes the broker-controlled SCRAM iteration count directly to hashlib.pbkdf2_hmac() without validation, blocking producer sends, consumer polls, admin operations, and heartbeats, which can cause consumer group eviction and repeated reconnect failures.
High Basis: The source's own band: HIGH
0, fixed 2.3.2 (ecosystem)2.3.2
2.3.2pip install --upgrade kafka-python==2.3.2Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0