SECURITY UPDATE: race condition in the ssl module: cert_store_stats()
and get_ca_certs() read the certificate store of an SSLContext without
holding its lock (CVE-2024-0397)
debian/patches/CVE-2024-0397.patch: take a locked deep copy of the
store's objects (X509_STORE_get1_objects() shim built on
X509_STORE_lock()) in cert_store_stats() and get_ca_certs() in
Modules/_ssl.c, and free it after use