VDB

CVE-2024-3651

CVE-2024-3651 PUBLISHED CVSS 6.2 MEDIUM

Denial of Service via Quadratic Complexity in kjd/idna

Reported by @huntr_ai · Published July 7, 2024

idna is fixed in 3.7 and 1d365e17e10d72d0b7876316fc7b9ca0eebdd38d (PyPI)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
idnaPyPI3.7, 1d365e17e10d72d0b7876316fc7b9ca0eebdd38d
azChainguard2.60.0-r0
kubeflow-katibWolfi0.18.0-r0
jwt-toolChainguard2.2.7-r0
ggshieldChainguard1.27.0-r0
python2-pipAmazon Linux20.2.2-1.amzn2.0.7
k8s-sidecarChainguard1.26.1-r1
py3-idnaChainguard3.7-r0
py3-cassandra-medusaWolfi0.23.0-r30
py3-torchvision-cuda-11.8Chainguard0.18.1-r3
confluent-docker-utilsChainguard0.0.76-r0
kubeflow-pipelines-visualization-serverChainguard2.2.0-r0

44 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.0
6.2
CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
kjdkjd/idnaunspecified
chainguardaz0
kjdidna
wolfikubeflow-katib0
chainguardjwt-tool0
chainguardggshield0
amazon:2python2-pip0
chainguardk8s-sidecar0
chainguardpy3-idna0
wolfipy3-cassandra-medusa0
chainguardpy3-torchvision-cuda-11.80
chainguardconfluent-docker-utils0
chainguardkubeflow-pipelines-visualization-server0
amazon:2python-pip-wheel0
chainguardpy3.11-pytorch-cuda-12.30
wolfiaz0
wolfidatadog-agent0
chainguardkubeflow-pipelines0
amazon:2023python3-pip0
chainguardpy3.11-torchaudio-cuda-12.30

…and 39 more

Timeline

  • Apr 11, 2024 CVE Published
  • Jul 8, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (14 in total, the first dated here)
  • Mar 9, 2026 Security Advisory (37 in total, the first dated here)
  • Aug 10, 2026 Distribution Patch (32 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-3651
vulnetix vdb fixes CVE-2024-3651

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-3651/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›