{"id":"ALPINE-CVE-2024-3651","details":"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.","modified":"2026-09-15T08:17:48.467506724Z","published":"2024-07-07T18:15:09.827Z","upstream":["CVE-2024-3651"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2024-3651"}],"affected":[{"package":{"name":"py3-idna","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/py3-idna?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.7-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2024-3651.json"}},{"package":{"name":"py3-idna","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/py3-idna?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.7-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2024-3651.json"}},{"package":{"name":"py3-idna","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/py3-idna?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.7-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2024-3651.json"}},{"package":{"name":"py3-idna","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/py3-idna?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.7-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2024-3651.json"}},{"package":{"name":"py3-idna","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/py3-idna?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.7-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2024-3651.json"}},{"package":{"name":"py3-idna","ecosystem":"Alpine:v3.24","purl":"pkg:apk/alpine/py3-idna?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.7-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2024-3651.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}