Mike Read

#980من 61,508
247.7إجمالي CVSS
الثغرات · 30
متوسطة
5
عالية
17
حرجة
8
PT-2026-128292
2026-10-28
9.1
CVE-2026-111108
Apache
Apache Kafka
تقوم قارئات البروتوكول التي يتم إنشاؤها برمجياً بتحديد الحجم المسبق لمجموعات المصفوفات بناءً على عدد العناصر الذي يحدده المرسل. يتم التحقق من هذا العدد فقط مقابل البايتات المتبقية في ذاكرة التخزين المؤقت للطلب، وهو ما يفترض بشكل خاطئ وجود بايت واحد تقريباً لكل عنصر. وبناءً على ذلك، يمكن للطلب أن يحدد عدداً من العناصر أكبر بكثير مما تحتويه الذاكرة المؤقتة فعلياً. بالنسبة للمصفوفات ذات المفاتيح، تقوم القارئة بتخصيص `ImplicitLinkedHashCollection` بسعة `(2 * count + 1)`، مما يسمح لطلب صغير نسبياً بالتسبب في تخصيص ذاكرة (heap) أكبر بعدة مرات قبل قراءة أي عنصر. تؤثر هذه المشكلة على جميع أنواع واجهة برمجة تطبيقات Kafka التي تحتوي على حقل مصفوفة. وبما أن تحليل الطلب يتم قبل التحقق من التصاريح، يمكن لمهاجم غير مصرح له على مستمع لا يتطلب المصادقة (مثل PLAINTEXT) أو مستخدم مصرح له ولكن بدون صلاحيات وصول (ACLs) محددة إرسال طلبات متزامنة بأطوال مصفوفات كبيرة لاستنفاد ذاكرة الـ heap الخاصة بالوسيط (broker)، مما يؤدي إلى حدوث `OutOfMemoryError` وتوقف الوسيط عن العمل.
PT-2026-128295
2026-10-28
7.5
CVE-2026-111551
Apache
Apache Kafka
تقوم عدة مسارات إلغاء التسلسل بقراءة حقل الحجم أو العدد من بيانات الإدخال واستخدامه مباشرة لتخصيص مصفوفة أو مجموعة أو مخزن مؤقت للبايتات (byte buffer)، دون التحقق من البايتات المتاحة فعلياً. يمكن لمدخلات مصممة بدقة وبحجم صغير أن تعلن عن حجم كبير جداً، مما يجبر النظام على تخصيص عدة جيجابايت من الذاكرة. قد يؤدي ذلك إلى حدوث خطأ OutOfMemoryError يتسبب في تعطل المستهلك المتأثر أو خيط (thread) Kafka Streams، بينما لا يتأثر الوسيط (broker) وبقية العنقود (cluster). يستمر الخطأ عند إعادة التشغيل لأن السجل المصمم يظل في الموضوع (topic). لا يفيد حد حجم السجل `max.message.bytes` لأن التخصيص يتم بناءً على حقل الحجم وليس على طول المدخلات. تشمل المسارات المتأثرة `ProcessorRecordContext` (عدد الرؤوس)، و `ChangedDeserializer` (طول قيمة varint)، و `CombinedKeySchema` (طول المفتاح الأجنبي)، و `ProcessorMetadata` (طول المفتاح)، وفك تشفير تعيين المجموعة `AssignmentInfo` في Kafka Streams، بالإضافة إلى `ListDeserializer` (المستخدم بواسطة `ListSerde`) في مكتبة العملاء.
PT-2026-128297
2026-10-28
6.5
CVE-2026-114349
Apache
Apache Kafka
عند فك تشفير دفعة سجلات مضغوطة، يقرأ الوسيط (broker) حجم الجسم المعلن من تدفق البيانات الذي تم فك ضغطه ويخصص ذاكرة مؤقتة بهذا الحجم قبل التحقق من صحتها مقابل البايتات المتاحة أو الحدود المكونة. نظرًا لأن هذا الحجم يتحكم فيه المهاجم ولا يتم تقييده بواسطة CRC الدفعة، يمكن لطلب إنتاج مضغوط صغير وصالح أن يعلن عن حجم جسم يصل إلى 2 جيجابايت، مما يجبر الوسيط على محاولة تخصيص تلك الذاكرة، وهو ما يؤدي إلى حدوث خطأ OutOfMemoryError. يمكن أن يؤدي ذلك إلى حجب الخدمة عن طريق تعطل خيوط معالجة طلبات الوسيط، أو أي مستهلك يجلب السجل، أو إنهاء JVM الخاص بالوسيط إذا تم تشغيله باستخدام -XX:+ExitOnOutOfMemoryError. علاوة على ذلك، يمكن لسجل تم التلاعب به وكتابته على القرص أن يؤدي إلى إنهاء خيط تنظيف السجلات (log-cleaner) أثناء عملية الضغط في موضوع مضغوط، مما يوقف ضغط السجلات للوسيط بالكامل، بما في ذلك المواضيع الداخلية مثل ` consumer offsets` و ` transaction state` ويستمر هذا الوضع حتى بعد إعادة التشغيل.
PT-2026-120757
2026-10-21
8.7
CVE-2026-105937
Apache
Apache Pulsar
Apache Pulsar shadow topics (PIP-180) are topics that read the stored messages of a source topic from that topic's managed ledger. The source topic is selected by setting the reserved topic property PULSAR.SHADOW SOURCE. The admin REST API accepts this property when creating a non-partitioned or partitioned topic and when updating the properties of an existing topic. On these paths the broker authorizes the caller only against the topic being created or updated. It does not authorize the caller against the source topic named in the property. The existing authorization for shadow topic configuration (the SHADOW TOPIC topic policy on the source topic) is applied only to the source-side shadow topics admin API, not to these paths. As a result, an authenticated user who is allowed to create topics or update topic properties in one tenant can bind a topic in that tenant to a persistent topic in any other tenant. With the default authorization provider, these operations require the tenant admin role for the user's own tenant. The user does not need any permission on the source topic, its namespace or its tenant. This impact analysis assumes that Pulsar has been configured with the default authorization provider. For custom authorization providers, the impact could be different. The user can then consume from the shadow topic, using only permissions on their own topic, and receive retained messages that were published to the source topic in the other tenant. Exposure is limited to messages that are still retained and readable in the source topic's ledgers; messages protected with client-side end-to-end encryption cannot be decrypted without the encryption keys. A producer on the shadow topic can also register a new schema version under the source topic's schema, subject to the schema compatibility settings; existing schema versions are not replaced. In addition, the shadow topic's managed ledger applies its own retention, trimming, offloading and deletion to the source topic's ledgers. This can permanently delete the source topic's ledger data from BookKeeper and from tiered storage, regardless of the source topic's own subscriptions and retention policy, including messages that have not yet been acknowledged. Deleting the shadow topic can also delete the source topic's ledgers. This data loss can also affect shadow topics that were configured intentionally by administrators. This issue affects Apache Pulsar versions from 3.0.0 before 4.0.14 and from 4.1.0 before 4.2.5. Apache Pulsar 2.x releases do not contain the shadow topic implementation. - 4.0.x version users should upgrade to at least 4.0.14. - 4.1.x and 4.2.x version users should upgrade to at least 4.2.5. Users operating versions prior to those listed above should upgrade to the aforementioned patched versions or newer versions. The currently supported Apache Pulsar release lines are 4.0.x and 5.0.x. The supported versions schedule is available at https://pulsar.apache.org/contribute/release-policy/. In the fixed versions, shadow topics are disabled by default and are controlled by the new broker configuration setting enableShadowTopics (default false). While it is disabled, the broker rejects creating shadow topics, setting the PULSAR.SHADOW SOURCE property, and loading or replicating to existing shadow topics. Deployments that use shadow topics must set enableShadowTopics=true in the broker configuration of all brokers after upgrading; otherwise existing shadow topics will not be loaded. When shadow topics are enabled, binding a shadow topic to a source topic in a different tenant requires the superuser role. The fixed versions also prevent a shadow topic from deleting or trimming the ledgers and offloaded data of its source topic. Affected versions provide no configuration option to disable shadow topics. Users who cannot upgrade immediately can reduce exposure by granting the tenant admin role only to trusted principals.