An issue was discovered in Mbed TLS before 2.24.0 (and before 2.16.8 LTS and before 2.7.17 LTS). There is missing zeroization of plaintext buffers in mbedtls_ssl_read to erase unused application data from memory.
https://lists.debian.org/debian-lts-announce/2022/12/msg00036.html
https://lists.debian.org/debian-lts-announce/2021/11/msg00021.html
https://github.com/ARMmbed/mbedtls/releases/tag/v2.7.17