Skip to content
Sign in
CVE-2024-56426.5Medium

CVE-2024-5642: Buffer overread when using an empty list with SSLContext.set_npn_protocols()

Python Software Foundation · CPython

Vendor fix available · Affected: Python Software Foundation CPython · Exploitation: unlikely (under 1%)

Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.

0.7%probability of exploitation in the next 30 days
55th percentile
050100

Higher than 55% of scored CVEs

6.5MediumCVSS 3.1
LowMedium

DescriptionCVE.org

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 products1

From the CVE record. A product or version that is not listed is unknown, not unaffected.

  • Python Software Foundation · CPythonbefore 3.9.24; from 3.10.0a1 before 3.10.0b1

On the Atlas

Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.

Open the Atlas
Exploitation
Unlikely (under 1%). EPSS under 1%, or no score yet.
CISA KEV
Not listed
Public check
No public nuclei template
Published
June 2024

CoverageNo articles yet

No CyberSIXT article names CVE-2024-5642 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.

References

Updated AboutDevelopersSign in