{"schemaVersion":3,"id":"CVE-2024-5642","aliases":["SUSE-SU-2024:3351-1","SUSE-SU-2024:3353-1","UBUNTU-CVE-2024-5642","DEBIAN-CVE-2024-5642","CGA-5fx2-wjp3-8fvc","CGA-j978-3qf9-6mgg"],"status":"published","duplicateOf":null,"title":null,"description":"CPython 3.9 and earlier doesn't disallow configuring an empty list (\"[]\") for SSLContext.set_npn_protocols() which is an invalid value for the underlying OpenSSL API. This results in a buffer over-read when NPN is used (see CVE-2024-5535 for OpenSSL). This vulnerability is of low severity due to NPN being not widely used and specifying an empty list likely being uncommon in-practice (typically a protocol name would be configured).","dates":{"published":"2024-06-27T21:05:31.281Z","modified":"2026-07-31T14:06:47.138Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L","exploitability":10,"impact":4.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L","exploitability":10,"impact":4.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L","exploitability":10,"impact":4.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00744,"percentile":0.53933,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00744},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00744,"percentile":0.53933}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00744,"percentile":0.53933}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[],"affected":[{"vendor":"chainguard","product":"python-3.9","name":"python-3.9","label":"python-3.9","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/python-3.9","purlType":"apk","versions":[{"text":"< 3.9.25-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.9.25-r0","eol":null,"hubHref":null},{"vendor":"debian","product":"pypy3","name":"pypy3","label":"pypy3","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/pypy3","purlType":"deb","versions":[{"text":"< 7.3.10+dfsg-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7.3.10+dfsg-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"python2.7","name":"python2.7","label":"python2.7","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/python2.7","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"python3.4","name":"python3.4","label":"python3.4","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/python3.4","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"python3.5","name":"python3.5","label":"python3.5","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/python3.5","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"python3.9","name":"python3.9","label":"python3.9","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/python3.9","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"python software foundation","product":"cpython","name":"CPython","label":"cpython","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 3.9.24","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.10.0a1, < 3.10.0b1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.9.24 | ≥ 3.10.0a1, < 3.10.0b1","eol":null,"hubHref":"/vendor/python_software_foundation/cpython"},{"vendor":"suse","product":"python3-core&distro=SUSE Linux Enterprise Micro 5.1","name":"python3-core","label":"python3-core&distro=SUSE Linux Enterprise Micro 5.1","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/python3-core&distro=SUSE Linux Enterprise Micro 5.1","purlType":"rpm","versions":[{"text":"< 3.6.15-150000.3.158.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.6.15-150000.3.158.1","eol":null,"hubHref":null},{"vendor":"suse","product":"python36-core&distro=SUSE Linux Enterprise Server 12 SP5","name":"python36-core","label":"python36-core&distro=SUSE Linux Enterprise Server 12 SP5","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/python36-core&distro=SUSE Linux Enterprise Server 12 SP5","purlType":"rpm","versions":[{"text":"< 3.6.15-64.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.6.15-64.1","eol":null,"hubHref":null},{"vendor":"suse","product":"python36-core&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP5","name":"python36-core","label":"python36-core&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP5","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/python36-core&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP5","purlType":"rpm","versions":[{"text":"< 3.6.15-64.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.6.15-64.1","eol":null,"hubHref":null},{"vendor":"suse","product":"python36-core&distro=SUSE Linux Enterprise Software Development Kit 12 SP5","name":"python36-core","label":"python36-core&distro=SUSE Linux Enterprise Software Development Kit 12 SP5","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/python36-core&distro=SUSE Linux Enterprise Software Development Kit 12 SP5","purlType":"rpm","versions":[{"text":"< 3.6.15-64.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.6.15-64.1","eol":null,"hubHref":null},{"vendor":"suse","product":"python36&distro=SUSE Linux Enterprise Server 12 SP5","name":"python36","label":"python36&distro=SUSE Linux Enterprise Server 12 SP5","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/python36&distro=SUSE Linux Enterprise Server 12 SP5","purlType":"rpm","versions":[{"text":"< 3.6.15-64.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.6.15-64.1","eol":null,"hubHref":null},{"vendor":"suse","product":"python36&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP5","name":"python36","label":"python36&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP5","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/python36&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP5","purlType":"rpm","versions":[{"text":"< 3.6.15-64.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.6.15-64.1","eol":null,"hubHref":null},{"vendor":"suse","product":"python3&distro=SUSE Linux Enterprise Micro 5.1","name":"python3","label":"python3&distro=SUSE Linux Enterprise Micro 5.1","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/python3&distro=SUSE Linux Enterprise Micro 5.1","purlType":"rpm","versions":[{"text":"< 3.6.15-150000.3.158.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.6.15-150000.3.158.1","eol":null,"hubHref":null}],"affectedCount":14,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://jbp.io/2024/06/27/cve-2024-5535-openssl-memory-safety.html","label":"jbp.io/2024/06/27/cve-2024-5535-openssl-memory-safety.html","hostname":"jbp.io","tags":["Third Party Advisory","REPORT","Advisory"]},{"url":"https://github.com/python/cpython/pull/23014","label":"github.com/python/cpython/pull/23014","hostname":"github.com","tags":["Mitigation","REPORT","FIX"]},{"url":"https://mail.python.org/archives/list/security-announce@python.org/thread/PLP2JI3PJY33YG6P5BZYSSNU66HASXBQ/","label":"mail.python.org/archives/list/security-announce@python.org/thread/PLP2JI3PJY33YG6P5BZYSSNU66HASXBQ/","hostname":"mail.python.org","tags":["Vendor Advisory","REPORT","Advisory"]},{"url":"https://github.com/python/cpython/commit/39258d3595300bc7b952854c915f63ae2d4b9c3e","label":"github.com/python/cpython/commit/39258d3595300bc7b952854c915f63ae2d4b9c3e","hostname":"github.com","tags":["Patch","FIX"]},{"url":"http://www.openwall.com/lists/oss-security/2024/06/28/4","label":"www.openwall.com/lists/oss-security/2024/06/28/4","hostname":"www.openwall.com","tags":["REPORT","WEB"]},{"url":"https://github.com/python/cpython/issues/121227","label":"github.com/python/cpython/issues/121227","hostname":"github.com","tags":["Issue Tracking","REPORT"]},{"url":"https://security.netapp.com/advisory/ntap-20240726-0005/","label":"security.netapp.com/advisory/ntap-20240726-0005/","hostname":"security.netapp.com","tags":["Advisory"]},{"url":"https://github.com/python/cpython/commit/a2cdbb6e8188ba9ba8b356b28d91bff60e86fe31","label":"github.com/python/cpython/commit/a2cdbb6e8188ba9ba8b356b28d91bff60e86fe31","hostname":"github.com","tags":["Patch","FIX"]},{"url":"https://www.suse.com/support/update/announcement/2024/suse-su-20243351-1/","label":"www.suse.com/support/update/announcement/2024/suse-su-20243351-1/","hostname":"www.suse.com","tags":["Advisory"]},{"url":"https://bugzilla.suse.com/1227233","label":"bugzilla.suse.com/1227233","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://www.suse.com/security/cve/CVE-2024-5642","label":"www.suse.com/security/cve/CVE-2024-5642","hostname":"www.suse.com","tags":["WEB"]},{"url":"https://www.suse.com/support/update/announcement/2024/suse-su-20243353-1/","label":"www.suse.com/support/update/announcement/2024/suse-su-20243353-1/","hostname":"www.suse.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2024-5642","label":"ubuntu.com/security/CVE-2024-5642","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-5642","label":"www.cve.org/CVERecord?id=CVE-2024-5642","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2024-5642","label":"security-tracker.debian.org/tracker/CVE-2024-5642","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/5xxx/CVE-2024-5642.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2024/5xxx/CVE-2024-5642.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-5642","label":"nvd.nist.gov/vuln/detail/CVE-2024-5642","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/python/cpython","label":"github.com/python/cpython","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2024:14253-1","OPENSUSE-SU-2024:14256-1","RHSA-2025:23342","RHSA-2025:23530","SUSE-SU-2024:3076-1","SUSE-SU-2024:3470-1"],"duplicates":[],"related":["CGA-WVQ5-364W-25WG","OPENSUSE-SU-2024:14253-1","OPENSUSE-SU-2024:14256-1","SUSE-SU-2024:3076-1","SUSE-SU-2024:3470-1"]},"timeline":[{"kind":"published","date":"2024-06-27T21:05:31.281Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-07-31T14:06:47.138Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":26,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T22:51:19.769Z","stale":false,"partial":false}}