CVSS 3.1
7.5 highCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HHigh (7.5) in kjd internationalized domain names in applications. EPSS 1.4% estimated probability of exploitation activity in the next 30 days. Fixed in idna 3.7.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:Hidna (PyPI): fixed in 3.7Explain CVE-2024-3651 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-3651?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-3651?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-3651 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| kjd/idna | before 3.7 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-jjg7-2v4v-x38h | PyPI | idna | <3.7 | 3.7 |
| PYSEC-2024-60 | PyPI | idna | >=0.1 <3.7 | 3.7 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 10 | python-idna | 2.6-1+deb10u1 | DLA-3811-1 |
| Debian | 12 | python-idna | 3.3-1+deb12u1 | DEBIAN-CVE-2024-3651 |
| Debian | 13, 14 | python-idna | 3.6-2.1 | DEBIAN-CVE-2024-3651 |
| Ubuntu | 20.04:LTS | python-idna | 2.8-1ubuntu0.1 | UBUNTU-CVE-2024-3651 USN-6780-1 |
| Ubuntu | 22.04:LTS | python-idna | 3.3-1ubuntu0.1 | UBUNTU-CVE-2024-3651 USN-6780-1 |
| Ubuntu | 22.04:LTS | python-pip | 22.0.2+dfsg-1ubuntu0.7 | UBUNTU-CVE-2024-3651 USN-7762-1 |
| Ubuntu | 24.04:LTS | python-idna | 3.6-2ubuntu0.1 | UBUNTU-CVE-2024-3651 USN-6780-1 |
| Ubuntu | 24.04:LTS | python-pip | 24.0+dfsg-1ubuntu1.3 | UBUNTU-CVE-2024-3651 USN-7762-1 |
| Ubuntu | Pro:16.04:LTS | python-idna | 2.0-3ubuntu0.1~esm1 | UBUNTU-CVE-2024-3651 USN-6780-1 |
| Ubuntu | Pro:16.04:LTS | python-pip | 8.1.1-2ubuntu0.6+esm8 | UBUNTU-CVE-2024-3651 |
| Ubuntu | Pro:18.04:LTS | python-idna | 2.6-1ubuntu0.1~esm1 | UBUNTU-CVE-2024-3651 USN-6780-1 |
| Ubuntu | Pro:18.04:LTS | python-pip | 9.0.1-2.3~ubuntu1.18.04.8+esm4 | UBUNTU-CVE-2024-3651 |
| Ubuntu | Pro:20.04:LTS | python-pip | 20.0.2-5ubuntu1.10+esm2 | UBUNTU-CVE-2024-3651 |
| Red Hat | ansible_automation_platform:2.4::el8 | automation-controller-venv-tower | 0:4.5.7-1.el8ap | RHSA-2024:3781 |
| Red Hat | ansible_automation_platform:2.4::el8 | automation-hub, python39-galaxy-ng, python3x-galaxy-ng | 0:4.9.2-1.el8ap | RHSA-2024:3781 |
| Red Hat | ansible_automation_platform:2.4::el8 | python39-aiohttp, python3x-aiohttp, python39-aiohttp-debuginfo and 1 more | 0:3.9.5-1.el8ap | RHSA-2024:3781 |
| Red Hat | ansible_automation_platform:2.4::el8 | python39-gunicorn, python3x-gunicorn | 0:22.0.0-1.el8ap | RHSA-2024:3781 |
| Red Hat | ansible_automation_platform:2.4::el8 | python39-pillow, python3x-pillow, python39-pillow-debuginfo and 1 more | 0:10.3.0-1.el8ap | RHSA-2024:3781 |
| Red Hat | ansible_automation_platform:2.4::el8 | python39-pydantic, python3x-pydantic | 0:1.10.15-1.el8ap | RHSA-2024:3781 |
| Red Hat | ansible_automation_platform:2.4::el8 | python39-social-auth-app-django, python3x-social-auth-app-django | 0:5.4.1-1.el8ap | RHSA-2024:3781 |
| Red Hat | ansible_automation_platform:2.4::el8 | python39-sqlparse, python3x-sqlparse | 0:0.5.0-1.el8ap | RHSA-2024:3781 |
| Red Hat | ansible_automation_platform:2.4::el8, ansible_automation_platform_developer:2.4::el8 | python39-idna, python3x-idna | 0:3.7-1.el8ap | RHSA-2024:3781 |
| Red Hat | ansible_automation_platform:2.4::el8, ansible_automation_platform_developer:2.4::el8 | python39-requests, python3x-requests | 0:2.32.2-1.el8ap | RHSA-2024:3781 |
| Red Hat | ansible_automation_platform:2.4::el8, ansible_automation_platform_developer:2.4::el8, ansible_automation_platform_inside:2.4::el8 | python39-black, python3x-black | 0:22.8.0-2.el8ap | RHSA-2024:3781 |
| Red Hat | ansible_automation_platform:2.4::el8, ansible_automation_platform_developer:2.4::el8, ansible_automation_platform_inside:2.4::el8 | python39-cryptography, python3x-cryptography, python39-cryptography-debuginfo and 1 more | 0:42.0.5-1.el8ap | RHSA-2024:3781 |
| 56 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | EL-9:Update:Products:SaltBundle:Update | saltbundlepy, saltbundlepy-core | 3.11.9-1.26.1 | SUSE-SU-2024:4029-1 |
| SUSE | EL-9:Update:Products:SaltBundle:Update | saltbundlepy-cryptography | 3.3.2-1.18.1 | SUSE-SU-2024:4029-1 |
| SUSE | EL-9:Update:Products:SaltBundle:Update | saltbundlepy-docker | 7.0.0-1.8.1 | SUSE-SU-2024:4029-1 |
| SUSE | EL-9:Update:Products:SaltBundle:Update | saltbundlepy-idna | 3.4-1.9.2 | SUSE-SU-2024:4029-1 |
| SUSE | EL-9:Update:Products:SaltBundle:Update | saltbundlepy-passlib, saltbundlepy-passlib-test | 1.7.4-1.3.1 | SUSE-SU-2024:4029-1 |
| SUSE | EL-9:Update:Products:SaltBundle:Update | saltbundlepy-setuptools | 67.7.2-1.12.1 | SUSE-SU-2024:4029-1 |
| SUSE | EL-9:Update:Products:SaltBundle:Update | saltbundlepy-urllib3 | 2.0.7-1.12.1 | SUSE-SU-2024:4029-1 |
| SUSE | EL-9:Update:Products:SaltBundle:Update | saltbundlepy-zipp | 3.15.0-1.9.2 | SUSE-SU-2024:4029-1 |
| SUSE | EL-9:Update:Products:SaltBundle:Update, Manager Client Tools for RHEL, Liberty and Clones 9-CLIENT-TOOLS | venv-salt-minion | 3006.0-1.47.1 | SUSE-SU-2024:4029-1 |
| SUSE | Linux Enterprise Micro 5.1, Linux Enterprise Micro 5.2, Linux Enterprise Micro 5.3 and 3 more | python-idna | 2.6-150000.3.3.1 | SUSE-SU-2024:1439-1 |
| SUSE | Linux Enterprise Micro 5.5 | python-idna | 2.6-150000.3.3.1 | SUSE-SU-2024:1439-2 |
| SUSE | Linux Enterprise Module for Public Cloud 12, Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5 | python-idna | 2.5-3.13.1 | SUSE-SU-2024:1428-1 |
| 4 more for SUSE in the JSON and on SUSE's page. | ||||
| openSUSE | Leap 15.5, Leap 15.6 | python-idna | 3.4-150400.11.10.1 | SUSE-SU-2024:1939-1 |
| openSUSE | Leap 15.5, Leap Micro 5.3, Leap Micro 5.4 | python-idna | 2.6-150000.3.3.1 | SUSE-SU-2024:1439-1 |
| openSUSE | Tumbleweed | python-idna | 3.19-1.1 | openSUSE-SU-2026:11711-1 |
| openSUSE | Tumbleweed | python-idna | 3.7-1.1 | openSUSE-SU-2024:13874-1 |
| AlmaLinux | 8 | python3-idna | 2.5-7.el8_10 | ALSA-2024:4260 |
| AlmaLinux | 8 | python39, python39-idle, python39-libs and 5 more | 3.9.19-1.module_el8.10.0+3849+a48d89aa | ALSA-2024:3466 |
| AlmaLinux | 8 | python39-Cython | 0.29.21-5.module_el8.6.0+2780+a40f65e1 | ALSA-2024:3466 |
| AlmaLinux | 8 | python39-Cython | 0.29.21-5.module_el8.6.0+3248+c431e88c | ALSA-2024:3466 |
| AlmaLinux | 8 | python39-PyMySQL | 0.10.1-2.module_el8.6.0+2780+a40f65e1 | ALSA-2024:3466 |
| AlmaLinux | 8 | python39-attrs | 20.3.0-2.module_el8.6.0+2780+a40f65e1 | ALSA-2024:3466 |
| AlmaLinux | 8 | python39-cffi | 1.14.3-2.module_el8.6.0+2780+a40f65e1 | ALSA-2024:3466 |
| AlmaLinux | 8 | python39-cffi | 1.14.3-2.module_el8.6.0+3248+c431e88c | ALSA-2024:3466 |
| AlmaLinux | 8 | python39-chardet | 3.0.4-19.module_el8.6.0+2780+a40f65e1 | ALSA-2024:3466 |
| AlmaLinux | 8 | python39-cryptography | 3.3.1-3.module_el8.10.0+3765+2f9a457d | ALSA-2024:3466 |
| AlmaLinux | 8 | python39-idna | 2.10-4.module_el8.10.0+3849+a48d89aa | ALSA-2024:3466 |
| AlmaLinux | 8 | python39-iniconfig | 1.1.1-2.module_el8.6.0+2780+a40f65e1 | ALSA-2024:3466 |
| 31 more for AlmaLinux in the JSON. | ||||
| Rocky Linux | 8 | python-idna | 0:2.5-7.el8_10 | RLSA-2024:4260 |
| Rocky Linux | 9 | python-idna | 0:2.10-7.el9_4.1 | RLSA-2024:3846 |
| Alpine | v3.19, v3.20, v3.21 and 3 more | py3-idna | 3.7-r0 | ALPINE-CVE-2024-3651 |
| Azure Linux | 2 | python-idna | 3.7-1 | AZL-43201 |
| Azure Linux | 2 | python3 | 3.9.19-13 | AZL-59690 |
| Azure Linux | 3 | python-idna | 3.7-1 | AZL-43204 |
| Azure Linux | 3 | python-pip | 24.0-2 | AZL-43210 |
| Azure Linux | 3 | tensorflow | 2.16.1-7 | AZL-43207 |
| Alpaquita | 23, stream | py3-idna | 3.7-r0 | BELL-CVE-2024-3651 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita.
Red Hat rates this Moderate.
The vulnerability in the idna.encode() function, allowing for resource consumption via specially crafted arguments, is categorized as a moderate severity issue due to its potential impact on system availability rather than data integrity or confidentiality. While the vulnerability can lead to a denial-of-service condition, it requires the passing of unusually large or maliciously crafted inputs to exploit. Normal usage scenarios typically do not encounter such inputs.
Mitigation 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.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Ansible Automation Platform 2.4 for RHEL 8 | python3x-idna-0:3.7-1.el8ap | Fixed 2024-06-10 | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform 2.4 for RHEL 9 | python-idna-0:3.7-1.el9ap | Fixed 2024-06-10 | RHSA-2024:3781 |
| Red Hat Enterprise Linux 7 Extended Lifecycle Support | python-idna-0:2.4-2.el7_9 | Fixed 2024-10-23 | RHSA-2024:8365 |
| Red Hat Enterprise Linux 8 | python39:3.9-8100020240516111311.d47b87a4 | Fixed 2024-05-29 | RHSA-2024:3466 |
| Red Hat Enterprise Linux 8 | python39-devel:3.9-8100020240516111311.d47b87a4 | Fixed 2024-05-29 | RHSA-2024:3466 |
| Red Hat Enterprise Linux 8 | python-idna-0:2.5-7.el8_10 | Fixed 2024-07-02 | RHSA-2024:4260 |
| Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | python-idna-0:2.5-5.el8_6.1 | Fixed 2024-06-03 | RHSA-2024:3552 |
| Red Hat Enterprise Linux 8.6 Telecommunications Update Service | python-idna-0:2.5-5.el8_6.1 | Fixed 2024-06-03 | RHSA-2024:3552 |
| Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions | python-idna-0:2.5-5.el8_6.1 | Fixed 2024-06-03 | RHSA-2024:3552 |
| Red Hat Enterprise Linux 8.8 Extended Update Support | python-idna-0:2.5-5.el8_8.1 | Fixed 2024-06-03 | RHSA-2024:3543 |
| Red Hat Enterprise Linux 9 | python-idna-0:2.10-7.el9_4.1 | Fixed 2024-06-11 | RHSA-2024:3846 |
| Red Hat Enterprise Linux 10 | python-idna | Not affected | |
| Red Hat Enterprise Linux 8 | python27:2.7/python-idna | Will not fix | |
| Red Hat OpenShift Container Platform 3.11 | python-idna | Out of support scope | |
| Red Hat Satellite 6 | ansiblerole-foreman_scap_client | Affected | |
| Red Hat Satellite 6 | python-idna | Affected | |
| Red Hat Satellite 6 | python-idna-ssl | Affected | |
| Red Hat Software Collections | rh-python38-python-idna | Not affected | |
| Red Hat Update Infrastructure 4 for Cloud Providers | python-idna | Will not fix | |
| Red Hat Update Infrastructure 4 for Cloud Providers | python-idna-ssl | Will not fix |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-3651.
Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.