Resource Exhaustion Affecting python39:3.9/python39-pysocks package, versions <0:1.7.1-4.module+el8.9.0+19644+d68f775d


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.05% (19th 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 Learn

Learn about Resource Exhaustion vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL8-PYTHON39-7165749
  • published30 May 2024
  • disclosed12 Apr 2024

Introduced: 12 Apr 2024

CVE-2024-3651  (opens in a new tab)
CWE-400  (opens in a new tab)

How to fix?

Upgrade RHEL:8 python39:3.9/python39-pysocks to version 0:1.7.1-4.module+el8.9.0+19644+d68f775d or higher.
This issue was patched in RHSA-2024:3466.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python39:3.9/python39-pysocks package and not the python39:3.9/python39-pysocks package as distributed by RHEL. See How to fix? for RHEL:8 relevant fixed versions and status.

A vulnerability was identified in the kjd/idna library, specifically within the idna.encode() function, affecting version 3.6. The issue arises from the function's handling of crafted input strings, which can lead to quadratic complexity and consequently, a denial of service condition. This vulnerability is triggered by a crafted input that causes the idna.encode() function to process the input with considerable computational load, significantly increasing the processing time in a quadratic manner relative to the input size.

CVSS Scores

version 3.1