CVE-2024-5642

CVE-2024-5642

Medium · published June 28, 2024

CVSS v3.1
6.5
EPSS
1%
Percentile
54.2
In the wild
Unconfirmed
What it is

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

The record
Technical detail
CVSS v3.1
6.5 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
CVSS v4.0
Not supplied
EPSS
0.00744 · 54.2th percentile
Published
2024-06-28T01:15Z
References (15)
EPSS history
Timeline
  • 27 JUN 21:05Z
    Buffer overread when using an empty list with SSLContext.set_npn_protocols()
    cvelistv5