Update dependency kafka-python to v2.3.2 [SECURITY] - #14564
Open
renovate-bot wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==2.0.6→==2.3.2Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
kafka-python vulnerable to denial of service through an unbounded SCRAM iteration count
CVE-2026-10143 / GHSA-2jcm-hq8r-84wx
More information
Details
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.
Severity
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
kafka-python vulnerable to denial of service through an unvalidated protocol frame length
CVE-2026-10142 / GHSA-m3px-q5gj-j9x7
More information
Details
kafka-python prior to 2.3.2 contains a denial-of-service vulnerability in the protocol parser that allows a malicious broker or machine-in-the-middle attacker to exhaust memory or hang connections by sending a crafted 4-byte frame length value without bounds validation. Attackers can send a specially crafted frame length through the receive_bytes() function to trigger either a multi-gigabyte memory allocation or an uncaught ValueError that leaves the connection in a broken state, causing requests to hang and consumers to stop heartbeating until restart.
Severity
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
dpkp/kafka-python (kafka-python)
v2.3.2Compare Source
2.3.2 (Jun 3, 2026)
Fixes
_callbacks/_errbackslist when futureis_doneto avoid reference cycles (#2891)v2.3.1Compare Source
Fixes
Fetcher._fetch_offsets_by_timesretry handling (#2833)v2.3.0Compare Source
CLI
Producer
Consumer
AdminClient
send_request()andsend_requests()to KafkaAdminClient (#2649)Maintenance
Project Infra
v2.2.20Compare Source
2.2.20 (Jun 3, 2026)
Fixes
_callbacks/_errbackslist when futureis_doneto avoid reference cycles (#2891)v2.2.19Compare Source
Fixes
Fetcher._fetch_offsets_by_times retry handling(#2833)v2.2.18Compare Source
Fixes
v2.2.17Compare Source
Fixes
Networking
Documentation
transactional_idto KafkaProducer Keyword Arguments docstringv2.2.16Compare Source
Fixes
Consumer.position()(k61n / #2668)v2.2.15Compare Source
Fixes
v2.2.14Compare Source
Fixes
v2.2.13Compare Source
Fixes
Documentation
v2.2.12Compare Source
Fixes
_completed_fetchesdeque in consumer fetcher (#2646)v2.2.11Compare Source
Fixes
v2.2.10Compare Source
Fixes
client_ctx.completeinauth_bytes()(#2631)v2.2.9Compare Source
Fixes
Logging / Error Messages
v2.2.8Compare Source
Fixes
Logging / Error Messages
v2.2.7Compare Source
Fixes
v2.2.6Compare Source
Fixes
v2.2.5Compare Source
Fixes
v2.2.4Compare Source
Fixes
reset_generationafter RebalanceInProgressError; improve CommitFailed error messages (#2614)v2.2.3Compare Source
Fixes
v2.2.2Compare Source
Fixes
v2.2.1Compare Source
Fixes
v2.2.0Compare Source
KafkaProducer
delivery_timeout_ms_tp_locks; get dq with lock in reenqueue()KafkaConsumer
READ_COMMITTED(#2582)MEMBER_ID_REQUIREDerror w/ second join group request (#2598)Potentially Breaking Changes (internal)
ClusterMetadata.add_group_coordinator->add_coordinator+ support txn typelog_start_offsetfrom producer RecordMetadataInternal
DefaultRecordsBuilder.size_in_bytesto classmethodFixes
Tests
test_fetcherv2.1.6Compare Source
Fixes
v2.1.5Compare Source
Fixes
Improvements
metrics_enabled=Falseto disable metrics (#2581)v2.1.4Compare Source
Fixes
Improvements
v2.1.3Compare Source
Fixes
Improvements
Testing
Compatibility
v2.1.2Compare Source
Fixes
_unpack_recordsin PartitionRecords to fix premature fetch offset advance in consumer.poll() (#2555)Improvements
v2.1.1Compare Source
Fixes
v2.1.0Compare Source
Support Kafka Broker 2.1 API Baseline
Consumer
_maybe_auto_commit_offsets_async(#2546)Producer
AdminClient
Networking
SASL Modules
Testing
Documentation
Fixes
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Never, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.