Mismatched Memory Management Routines vulnerability in Apache Thrift c_glib language bindings.
This issue affects Apache Thrift: before 0.23.0.
Users are recommended to upgrade to version 0.23.0, which fixes the issue.
Description: Specially crafted requests can crash an c_glib-based Thrift server with a clean but fatal free(): invalid pointer error message.
The product attempts to return a memory resource to the system, but it calls a release function that is not compatible with the function that was originally used to allocate that resource.
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Thrift | Apache | * | 0.23.0 (excluding) |
| Cryostat 4 on RHEL 9 | RedHat | cryostat/cryostat-storage-rhel9:4.2.0-16 | * |
| Red Hat Advanced Cluster Management for Kubernetes 2.14 | RedHat | rhacm2/acm-grafana-rhel9:1782693386 | * |
| Red Hat Advanced Cluster Management for Kubernetes 2.15 | RedHat | rhacm2/acm-grafana-rhel9:1780677003 | * |
| Red Hat Advanced Cluster Management for Kubernetes 2.16 | RedHat | rhacm2/acm-grafana-rhel9:1780926805 | * |
| Red Hat OpenShift distributed tracing 3.10.0 | RedHat | rhosdt/tempo-rhel9:1781589494 | * |
| Thrift | Ubuntu | questing | * |
This weakness can be generally described as mismatching memory management routines, such as:
When the memory management functions are mismatched, the consequences may be as severe as code execution, memory corruption, or program crash. Consequences and ease of exploit will vary depending on the implementation of the routines and the object being managed.