जमा करें #928781: tdunning t-digest 3.2 Unvalidated Length Fields Enable Crashजानकारी

शीर्षकtdunning t-digest 3.2 Unvalidated Length Fields Enable Crash
विवरणI was auditing t-digest 3.2's binary deserialization path for spots where untrusted bytes land directly on an array index or allocation size. MergingDigest.fromBytes(ByteBuffer) reads four attacker-controlled numeric fields (compression, n, bufferSize, lastUsedCell) straight off the wire and uses every one of them without a bounds check, so a handful of crafted bytes is enough to throw NegativeArraySizeException or ArrayIndexOutOfBoundsException before a single real centroid gets parsed. I confirmed the same unvalidated code is still on master today, and found a real consumer — Apache Pinot's star-tree aggregator — that fed this exact method with raw ingested byte[] values with no validation of its own until a July 2026 hardening PR.
स्रोत⚠️ https://github.com/tdunning/t-digest/issues/227
उपयोगकर्ता
 Yu Bao from PayPal Cyber Security Team (UID 99838)
सबमिशन14/08/2026 03:36 AM (2 महीनों पहले)
संयम14/09/2026 09:11 AM (1 month later)
स्थितिप्रतिलिपि
VulDB प्रविष्टि402019 [tdunning t-digest तक 3.3 Serialization MergingDigest.fromBytes capacity बफ़र ओवरफ़्लो]
अंक0

Do you need the next level of professionalism?

Upgrade your account now!