Resource Exhaustion Affecting idna package, versions [,3.7)


0.0
medium
0
10

Snyk CVSS

    Attack Complexity Low
    Availability High
Expand this section
Red Hat
6.5 medium
Expand this section
SUSE
6.5 medium

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 ID SNYK-PYTHON-IDNA-6597975
  • published 12 Apr 2024
  • disclosed 11 Apr 2024
  • credit Guido Vranken

How to fix?

Upgrade idna to version 3.7 or higher.

Overview

Affected versions of this package are vulnerable to Resource Exhaustion via the idna.encode function. An attacker can consume significant resources and potentially cause a denial-of-service by supplying specially crafted arguments to this function.

Note: This is triggered by arbitrarily large inputs that would not occur in normal usage but may be passed to the library assuming there is no preliminary input validation by the higher-level application.

References