Ubuntu CVE Tracker
UBUNTU-CVE-2024-3651
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:16.04:LTS | python-idna | All versions before 2.0-3ubuntu0.1~esm1 (fixed in 2.0-3ubuntu0.1~esm1) |
| Ubuntu:Pro:16.04:LTS | python-pip | All versions before 8.1.1-2ubuntu0.6+esm8 (fixed in 8.1.1-2ubuntu0.6+esm8) |
| Ubuntu:Pro:18.04:LTS | python-idna | All versions before 2.6-1ubuntu0.1~esm1 (fixed in 2.6-1ubuntu0.1~esm1) |
| Ubuntu:Pro:18.04:LTS | python-pip | All versions before 9.0.1-2.3~ubuntu1.18.04.8+esm4 (fixed in 9.0.1-2.3~ubuntu1.18.04.8+esm4) |
| Ubuntu:20.04:LTS | python-idna | All versions before 2.8-1ubuntu0.1 (fixed in 2.8-1ubuntu0.1) |
| Ubuntu:Pro:20.04:LTS | python-pip | All versions before 20.0.2-5ubuntu1.10+esm2 (fixed in 20.0.2-5ubuntu1.10+esm2) |
| Ubuntu:22.04:LTS | python-idna | All versions before 3.3-1ubuntu0.1 (fixed in 3.3-1ubuntu0.1) |
| Ubuntu:22.04:LTS | python-pip | All versions before 22.0.2+dfsg-1ubuntu0.7 (fixed in 22.0.2+dfsg-1ubuntu0.7) |
| Ubuntu:24.04:LTS | python-idna | All versions before 3.6-2ubuntu0.1 (fixed in 3.6-2ubuntu0.1) |
| Ubuntu:24.04:LTS | python-pip | All versions before 24.0+dfsg-1ubuntu1.3 (fixed in 24.0+dfsg-1ubuntu1.3) |