CVE-2024-3651
A public proof of concept exists; no exploitation attested.
- Published2024-07-07
- Fixed in3.7
- WeaknessCWE-1333
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2024-07-0718:15CVE publishedNVD
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 3.7 | ≥ 0.2, < 3.7 | 3.7 | NVD |
| 3.7 | ≥ 0.1, < 3.7 | 3.7 | OSV |
| 3.7 | < 3.7 | 3.7 | OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As @huntr_ai, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- kjd/idnaAffected
- < 3.7fixed in 3.7custom
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2025-10-15
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- automation-controller-venv-towerRed Hat:ansible_automation_platform:2.4::el9all versions · fixed in 0:4.5.7-1.el9ap
- automation-controller-venv-towerRed Hat:ansible_automation_platform:2.4::el8all versions · fixed in 0:4.5.7-1.el8ap
- automation-hubRed Hat:ansible_automation_platform:2.4::el9all versions · fixed in 0:4.9.2-1.el9apand 2 other packages
- automation-hubRed Hat:ansible_automation_platform:2.4::el8all versions · fixed in 0:4.9.2-1.el8apand 2 other packages
- azWolfiall versions · fixed in 2.60.0-r0and 1 other package
- azChainguardall versions · fixed in 2.60.0-r0and 1 other package
- checkovWolfiall versions · fixed in 3.0.34-r1
- checkovChainguardall versions · fixed in 3.0.34-r1
331 more package ranges on OSV.dev
Vendor advisories
python-idna: potential DoS via resource consumption via specially crafted inputs to idna.encode()
python-idna.src (python27:2.7) as a component of Red Hat Enterprise Linux 8 · python3-idna (python27:2.7) as a component of Red Hat Enterprise Linux 8 · python2-idna as a component of Red Hat OpenShift Container Platform 3.11 · +8 more
Red Hat Security Advisory: python-idna security update
Red Hat Security Advisory: python-idna security update
Red Hat Security Advisory: python-idna security update
Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.4 Product Security and Bug Fix Update
Red Hat Security Advisory: python-idna security and bug fix update
2 more advisories
Fix
- Update Kjd internationalized domain names in applications to 3.7
- Vendor fix Red Hat Product Security RHSA-2024:8365 · 2 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2024:3781 · 8 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 For the update to take effect, all applications using Jinja2 must be restarted.
- Vendor fix Red Hat Product Security RHSA-2024:3543 · 2 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2024:3466 · 229 productsFor details on how to apply this update, refer to: https://access.redhat.com/articles/11258
- Workaround from the vendor Red Hat Product Security RHSA-2024:8365 · 2 productsMitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
- No fix planned, says the vendor Red Hat Product Security CVE-2024-3651 · 1 productOut of support scope
Advisories and patches
- github.comPatch
- huntr.comPatch
Detection
read 2026-11-01 01:02 UTC- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHub1 repository, unverifiedknown since 2026-11-01redhat-tssc-tmm/CVE-2024-3651-exploit
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionnone2024-07-07
- NVDCVSS 3.17.5read 2026-10-23
- CNACVSS 3.06.2known since 2026-10-23
- CNAweakness (CWE)CWE-1333known since 2026-10-23
- FIRST EPSSEPSS score1.4 %2026-11-08
- PoC-in-GitHubproof of concept1known since 2026-11-01
- OSVaffected packages—
- GitHub AdvisoriesadvisoryMODERATE2024-04-11
Identifiers
- AZL-43201same flawAzure Linux · MIT
- AZL-43204same flawAzure Linux · MIT
- AZL-43207same flawAzure Linux · MIT
- AZL-43210same flawAzure Linux · MIT
- AZL-59690same flawAzure Linux · MIT
- CGA-239r-x3w2-2jq6same flawChainguard · CC-BY-NC-ND-4.0
- CGA-27r5-wpwp-fjr9same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2h3f-qpvf-x7v2same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2j6r-xwc6-2rqmsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2qfw-p4fh-p7hfsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-32jf-x35h-whghsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3479-vx6w-3r9csame flawChainguard · CC-BY-NC-ND-4.0
- CGA-39r4-8j2m-8q35same flawChainguard · CC-BY-NC-ND-4.0
- CGA-3c4p-hx7w-56p9same flawChainguard · CC-BY-NC-ND-4.0
- CGA-3mq3-c95c-56j8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-3p3p-pgpv-qvprsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3pp5-78w4-8p5vsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3qvm-fr54-j9w9same flawChainguard · CC-BY-NC-ND-4.0
- CGA-3v72-5mhw-v6cwsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-452v-9mxg-3f7jsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-45pj-pj2c-5x54same flawChainguard · CC-BY-NC-ND-4.0
- CGA-484q-xhm7-vcjrsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-4cgf-jfmr-h8r4same flawChainguard · CC-BY-NC-ND-4.0
- CGA-4fc2-j98v-qh47same flawChainguard · CC-BY-NC-ND-4.0
- CGA-4w3m-435w-vp4qsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-588q-x55x-55m6same flawChainguard · CC-BY-NC-ND-4.0
- CGA-5fqh-qm49-ccphsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-5m7r-6j7x-r9gvsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-5qj8-rj2g-8mfgsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-5w3x-xhx9-rf95same flawChainguard · CC-BY-NC-ND-4.0
- CGA-63h5-rm73-2266same flawChainguard · CC-BY-NC-ND-4.0
- CGA-65hp-whm8-3f33same flawChainguard · CC-BY-NC-ND-4.0
- CGA-66wx-6g2j-gxj8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-6v4w-qvhh-2q7msame flawChainguard · CC-BY-NC-ND-4.0
- CGA-6x7v-5q8q-67xfsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-6xr3-9gxv-9xm4same flawChainguard · CC-BY-NC-ND-4.0
- CGA-75gj-m52v-v65csame flawChainguard · CC-BY-NC-ND-4.0
- CGA-7924-2398-666hsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-7937-w28v-4377same flawChainguard · CC-BY-NC-ND-4.0
- CGA-79rc-8hcw-5693same flawChainguard · CC-BY-NC-ND-4.0
- CGA-7hwq-gfp2-7jm2same flawChainguard · CC-BY-NC-ND-4.0
- CGA-7mjv-jf3v-ch44same flawChainguard · CC-BY-NC-ND-4.0
- CGA-7r62-2534-fp7xsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-7rfg-8jhq-ch6psame flawChainguard · CC-BY-NC-ND-4.0
- CGA-7vp6-xpww-m969same flawChainguard · CC-BY-NC-ND-4.0
- CGA-7wwp-9rxq-7722same flawChainguard · CC-BY-NC-ND-4.0
- CGA-8523-9p2h-7h45same flawChainguard · CC-BY-NC-ND-4.0
- CGA-89mj-jx4h-5v46same flawChainguard · CC-BY-NC-ND-4.0
- CGA-8cv9-hr2g-xq9csame flawChainguard · CC-BY-NC-ND-4.0
- CGA-8v39-x363-g9xcsame flawChainguard · CC-BY-NC-ND-4.0
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Published
- 2024-07-07
- Last Modified
- 2026-06-17
- NVD status
- Modified
- GitHub Advisory
- GHSA-jjg7-2v4v-x38h
Frequently asked questions
What is CVE-2024-3651?
Is CVE-2024-3651 actively exploited?
What is the CVSS score for CVE-2024-3651?
Running idna? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-jjg7-2v4v-x38h
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0