CyberRota Analysis
AI-GeneratedA heap-based buffer overflow vulnerability exists in Apache Thrift's THeaderTransport when the ZLIB transform is enabled, allowing for potential exploitation through oversized compressed frames. This flaw can lead to arbitrary code execution or crashes, posing a critical risk to applications using affected versions prior to 0.25.0. Organizations utilizing Apache Thrift should prioritize upgrading to version 0.25.0 to mitigate this severe security threat.
Original NVD Description
Heap-based buffer overflow vulnerability in Apache Thrift C++ THeaderTransport. When an application enables the ZLIB transform for the frames it sends, THeaderTransport::transform() copies the compressed frame into the write buffer without making sure it fits. Data that does not compress, such as content a remote peer supplied, grows under compression, so the copy writes past the end of the heap buffer by an amount that grows with the size of the frame, and for large frames it also reads past the end of the transform buffer. This issue affects Apache Thrift: before 0.25.0. Users are recommended to upgrade to version 0.25.0, which fixes the issue.