Skip to main content

Improper Input Validation

CVE-2024-5642

Severity Low
Score 2.7/10

Summary

In CPython versions prior to 3.10.0b1, it 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 to be uncommon in-practice (typically a protocol name would be configured).

  • LOW
  • NETWORK
  • NONE
  • UNCHANGED
  • NONE
  • HIGH
  • NONE
  • LOW

CWE-20 - Improper Input Validation

The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.

Advisory Timeline

  • Published