Denial of Service via Quadratic Complexity in kjd/idna (kjd kjd/idna)

CVE-2024-3651
MEDIUM 6.2

En bref

Source
NVD
EPSS
EPSS 1.39 % · centile 72 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
@huntr_ai
Statut NVD
Modified

Description

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.

Faiblesses (CWE)

  • CWE-1333 — Complexité inefficace d'expression régulière (ReDoS)

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.0MEDIUM 6.2CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H@huntr_ai
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)
CVSS 3.0MEDIUM 6.2CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HNVD · security@huntr.dev (Secondary)

Avis

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
kjd · kjd/idnaaffected unspecified < 3.7

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD