CVE Vulnerabilities

CVE-2024-5642

Published: Jun 27, 2024 | Modified: Apr 15, 2026
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
2.7 LOW
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:L
Ubuntu
LOW
root.io logo minimus.io logo echo.ai logo

CPython 3.9 and earlier doesnt 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).

Affected Software

NameVendorStart VersionEnd Version
Red Hat Enterprise Linux 8RedHatpython39:3.9-8100020251126112422.d47b87a4*
Red Hat Enterprise Linux 8RedHatpython39-devel:3.9-8100020251126112422.d47b87a4*
Red Hat Enterprise Linux 9RedHatpython3.9-0:3.9.25-2.el9_7*
Red Hat Enterprise Linux 9RedHatpython3.9-0:3.9.25-2.el9_7*
Red Hat Ceph Storage 8RedHatrhceph/rhceph-8-rhel9:1769512383*
Red Hat Discovery 2RedHatdiscovery/discovery-server-rhel9:1767888970*
Red Hat Discovery 2RedHatdiscovery/discovery-ui-rhel9:1767904573*
Red Hat Update Infrastructure 5RedHatrhui5/cds-rhel9:1768221107*
Red Hat Update Infrastructure 5RedHatrhui5/haproxy-rhel9:1768221100*
Red Hat Update Infrastructure 5RedHatrhui5/installer-rhel9:1768296285*
Red Hat Update Infrastructure 5RedHatrhui5/rhua-rhel9:1768377012*
Python2.7Ubuntuesm-infra/xenial*
Python2.7Ubuntufocal*
Python2.7Ubuntutrusty/esm*
Python3.11Ubuntumantic*
Python3.12Ubuntumantic*
Python3.4Ubuntutrusty/esm*
Python3.5Ubuntuesm-infra-legacy/xenial*
Python3.5Ubuntuesm-infra/xenial*
Python3.5Ubuntutrusty/esm*
Python3.8Ubuntuupstream*
Python3.9Ubuntufocal*

References