VDB

DEBIAN-CVE-2024-5642

DEBIAN-CVE-2024-5642 PUBLISHED CVSS 6.5 MEDIUM

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

Risk Scores

CVSS 3.1
6.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L

Affected Products

VendorProductVersions
Debian:12pypy30, 0
Debian:14pypy30, 0
Debian:11python3.93.9.8-2, 3.9.2-1, 3.9.2-1
Debian:11python2.72.7.18-13, 2.7.18-13.1~exp1, 2.7.18-13.2
Debian:13pypy30, 0
Debian:11pypy37.3.6, 7.3.6, 7.3.7+dfsg

Exploit Intelligence

Timeline

  • Jun 27, 2024 CVE Published
  • Apr 28, 2026 CVE Updated
Open in Interactive Console →
$ Console Community · 100/wk Open console ›