CVE-2024-5642
Public on 2024-06-27
Modified on 2024-07-03
Description
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).
Severity
CVSS v3 Base Score
See breakdown
Affected Packages
Platform | Package | Release Date | Advisory | Status |
---|---|---|---|---|
Amazon Linux 2 - Core | python | Pending Fix | ||
Amazon Linux 1 | python26 | No Fix Planned | ||
Amazon Linux 1 | python27 | No Fix Planned | ||
Amazon Linux 2 - Core | python3 | Pending Fix | ||
Amazon Linux 2023 | python3.11 | Not Affected | ||
Amazon Linux 2023 | python3.9 | Not Affected | ||
Amazon Linux 1 | python34 | No Fix Planned | ||
Amazon Linux 1 | python35 | No Fix Planned | ||
Amazon Linux 1 | python36 | No Fix Planned | ||
Amazon Linux 1 | python38 | No Fix Planned |
CVSS Scores
Score Type | Score | Vector | |
---|---|---|---|
Amazon Linux | CVSSv3 | 4.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L |
NVD | CVSSv3 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L |