{ "data_version": "4.0", "data_type": "CVE", "data_format": "MITRE", "CVE_data_meta": { "ID": "CVE-2024-0397", "ASSIGNER": "cna@python.org", "STATE": "PUBLIC" }, "description": { "description_data": [ { "lang": "eng", "value": "A defect was discovered in the Python \u201cssl\u201d module where there is a memory\nrace condition with the ssl.SSLContext methods \u201ccert_store_stats()\u201d and\n\u201cget_ca_certs()\u201d. The race condition can be triggered if the methods are\ncalled at the same time as certificates are loaded into the SSLContext,\nsuch as during the TLS handshake with a certificate directory configured.\nThis issue is fixed in CPython 3.10.14, 3.11.9, 3.12.3, and 3.13.0a5." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "n/a" } ] } ] }, "affects": { "vendor": { "vendor_data": [ { "vendor_name": "Python Software Foundation", "product": { "product_data": [ { "product_name": "CPython", "version": { "version_data": [ { "version_affected": "<", "version_name": "3.13.0a1", "version_value": "3.13.0a5" }, { "version_affected": "<", "version_name": "3.12.0", "version_value": "3.12.3" }, { "version_affected": "<", "version_name": "3.11.0", "version_value": "3.11.9" }, { "version_affected": "<", "version_name": "0", "version_value": "3.10.14" } ] } } ] } } ] } }, "references": { "reference_data": [ { "url": "https://github.com/python/cpython/issues/114572", "refsource": "MISC", "name": "https://github.com/python/cpython/issues/114572" }, { "url": "https://github.com/python/cpython/pull/114573", "refsource": "MISC", "name": "https://github.com/python/cpython/pull/114573" }, { "url": "https://mail.python.org/archives/list/security-announce@python.org/thread/BMAK5BCGKYWNJOACVUSLUF6SFGBIM4VP/", "refsource": "MISC", "name": "https://mail.python.org/archives/list/security-announce@python.org/thread/BMAK5BCGKYWNJOACVUSLUF6SFGBIM4VP/" }, { "url": "https://github.com/python/cpython/commit/01c37f1d0714f5822d34063ca7180b595abf589d", "refsource": "MISC", "name": "https://github.com/python/cpython/commit/01c37f1d0714f5822d34063ca7180b595abf589d" }, { "url": "https://github.com/python/cpython/commit/29c97287d205bf2f410f4895ebce3f43b5160524", "refsource": "MISC", "name": "https://github.com/python/cpython/commit/29c97287d205bf2f410f4895ebce3f43b5160524" }, { "url": "https://github.com/python/cpython/commit/37324b421b72b7bc9934e27aba85d48d4773002e", "refsource": "MISC", "name": "https://github.com/python/cpython/commit/37324b421b72b7bc9934e27aba85d48d4773002e" }, { "url": "https://github.com/python/cpython/commit/542f3272f56f31ed04e74c40635a913fbc12d286", "refsource": "MISC", "name": "https://github.com/python/cpython/commit/542f3272f56f31ed04e74c40635a913fbc12d286" }, { "url": "https://github.com/python/cpython/commit/b228655c227b2ca298a8ffac44d14ce3d22f6faa", "refsource": "MISC", "name": "https://github.com/python/cpython/commit/b228655c227b2ca298a8ffac44d14ce3d22f6faa" }, { "url": "https://github.com/python/cpython/commit/bce693111bff906ccf9281c22371331aaff766ab", "refsource": "MISC", "name": "https://github.com/python/cpython/commit/bce693111bff906ccf9281c22371331aaff766ab" }, { "url": "http://www.openwall.com/lists/oss-security/2024/06/17/2", "refsource": "MISC", "name": "http://www.openwall.com/lists/oss-security/2024/06/17/2" } ] }, "generator": { "engine": "Vulnogram 0.2.0" }, "source": { "discovery": "UNKNOWN" } }