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).
OS | Version | Architecture | Package | Version | Filename |
---|---|---|---|---|---|
Debian | 11 | all | python2.7 | <= 2.7.18-8+deb11u1 | python2.7_2.7.18-8+deb11u1_all.deb |
Debian | 12 | all | python3.11 | < 3.11.2-6+deb12u2 | python3.11_3.11.2-6+deb12u2_all.deb |
Debian | 999 | all | python3.11 | < 3.11.9-1 | python3.11_3.11.9-1_all.deb |
Debian | 13 | all | python3.11 | < 3.11.9-1 | python3.11_3.11.9-1_all.deb |
Debian | 999 | all | python3.12 | < 3.12.4-1 | python3.12_3.12.4-1_all.deb |
Debian | 13 | all | python3.12 | < 3.12.4-1 | python3.12_3.12.4-1_all.deb |
Debian | 999 | all | python3.13 | < 3.13.0~b2-1 | python3.13_3.13.0~b2-1_all.deb |
Debian | 13 | all | python3.13 | < 3.13.0~b2-1 | python3.13_3.13.0~b2-1_all.deb |
Debian | 11 | all | python3.9 | <= 3.9.2-1 | python3.9_3.9.2-1_all.deb |