CVE Vulnerabilities

CVE-2024-5642

Published: Jun 27, 2024 | Modified: Jul 28, 2024
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

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

Name Vendor Start Version End Version
Python3.11 Ubuntu mantic *
Python3.12 Ubuntu mantic *
Python3.8 Ubuntu upstream *

References