Skip to main content
← All vulnerabilities
CVE-2024-3651GHSA-JJG7-2V4V-X38HPYSEC-2024-60

Denial of Service via Quadratic Complexity in kjd/idna

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.7
1 proof of concept on GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • kjd kjd/idna

    fixed in 3.7

  • idnaPyPI

    fixed in 3.7

  • idnaPyPI

    From 0.1 · fixed in 3.7

References 3

huntr.com

GitHub · kjd/idna

GitHub · redhat-tssc-tmm/CVE-2024-3651-exploit