ADVISORIES

Ubuntu CVE Tracker

UBUNTU-CVE-2024-5642

No fix available CVE-2024-5642

Details

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).

Affected packages

EcosystemPackageAffected versions
Ubuntu:Pro:14.04:LTSpython2.7
All versions, no fix listed
Ubuntu:Pro:14.04:LTSpython3.4
All versions, no fix listed
Ubuntu:Pro:14.04:LTSpython3.5
All versions, no fix listed
Ubuntu:Pro:16.04:LTSpython2.7
All versions, no fix listed
Ubuntu:Pro:16.04:LTSpython3.5
All versions, no fix listed
Ubuntu:Pro:18.04:LTSpython2.7
All versions, no fix listed
Ubuntu:Pro:20.04:LTSpython2.7
All versions, no fix listed
Ubuntu:Pro:20.04:LTSpython3.9
All versions, no fix listed
Ubuntu:Pro:22.04:LTSpython2.7
All versions, no fix listed

References