Buffer Over-read Affecting python package, versions [,3.10.0b2)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (13th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-PYTHON-7924821
  • published9 Sept 2024
  • disclosed27 Jun 2024
  • creditSeth Larson

Introduced: 27 Jun 2024

CVE-2024-5642  (opens in a new tab)
CWE-126  (opens in a new tab)

How to fix?

Upgrade python to version 3.10.0b2 or higher.

Overview

Affected versions of this package are vulnerable to Buffer Over-read due to the improper configuration of SSLContext.set_npn_protocols. An attacker can configure an empty list as a value for NPN protocols.

Note: 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.

CVSS Scores

version 4.0
version 3.1