CVE-2024-3651

Name
CVE-2024-3651
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.
NVD Severity
medium
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
https://huntr.com/bounties/93d78d07-d791-4b39-a845-cbfabc44aadb
https://github.com/kjd/idna/commit/1d365e17e10d72d0b7876316fc7b9ca0eebdd38d
af854a3a-2127-422b-91ae-364da2661108 https://lists.debian.org/debian-lts-announce/2024/05/msg00006.html
af854a3a-2127-422b-91ae-364da2661108 https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/F2S5E23N6E52S46KGNYTDFB75LOC4N4D/
af854a3a-2127-422b-91ae-364da2661108 https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/S5IDLLD2IKSIVRBSLB34WTSYGLMWUFWF/
af854a3a-2127-422b-91ae-364da2661108 https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ULSC7HBJKXB3BZV367WM5BR6DFEC4Z43/
af854a3a-2127-422b-91ae-364da2661108 https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4YQUPYH3SVZ5GFF2CDQ55FCM575AZTF2/

Match rules

CPE URI Source package Min version Max version
kjd/idna >= unspecified < 3.7

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
py3-idna edge-main 3.7-r0 Francesco Colista <fcolista@alpinelinux.org> fixed
py3-idna 3.22-main 3.7-r0 None fixed
py3-idna 3.21-main 3.7-r0 None fixed
py3-idna 3.20-main 3.7-r0 Francesco Colista <fcolista@alpinelinux.org> fixed
py3-idna 3.19-main 3.7-r0 Francesco Colista <fcolista@alpinelinux.org> fixed