Dana Powers (dpkp)のkafka-pythonにおける過剰なサイズ値のメモリ割り当てに関する脆弱性
| Title |
Dana Powers (dpkp)のkafka-pythonにおける過剰なサイズ値のメモリ割り当てに関する脆弱性
|
| Summary |
kafka-pythonのバージョン2.3.2以前には、プロトコルパーサーにおいてサービス拒否の脆弱性が存在します。この脆弱性により、悪意のあるブローカーや中間者攻撃者が、範囲外の検証を行わない特殊に細工された4バイトのフレーム長値を送信することで、メモリを枯渇させたり接続をハングさせたりできる可能性があります。攻撃者はreceive_bytes()関数を介して特別に細工されたフレーム長を送信し、多ギガバイトのメモリ割り当てを引き起こすか、キャッチされないValueErrorをトリガーして接続を破損状態にし、その結果リクエストがハングし、コンシューマが再起動するまでハートビートを停止させます。
|
| Possible impacts |
・当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 ・当該ソフトウェアが扱う情報について、書き換えは発生しません。 ・当該ソフトウェアが完全に停止する可能性があります。 |
| Solution |
ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date |
June 10, 2026, midnight |
| Registration Date |
June 12, 2026, 2:35 p.m. |
| Last Update |
June 12, 2026, 2:35 p.m. |
|
CVSS3.0 : 重要
|
| Score |
7.5
|
| Vector |
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected System
| Dana Powers (dpkp) |
|
kafka-python 2.3.2 未満
|
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
| No |
Changed Details |
Date of change |
| 1 |
[2026年06月12日] 掲載 |
June 12, 2026, 2:35 p.m. |
NVD Vulnerability Information
CVE-2026-10142
| Summary |
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.
|
| Publication Date |
June 11, 2026, 7:16 a.m. |
| Registration Date |
June 12, 2026, 4:16 a.m. |
| Last Update |
June 12, 2026, 12:22 a.m. |
Related information, measures and tools
Common Vulnerabilities List