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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-3811-1, ELA-1121-1 |
Debian Bugs | 1069127 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
python-idna (PTS) | stretch (lts), stretch | 2.2-1+deb9u1 | fixed |
buster (security), buster, buster (lts) | 2.6-1+deb10u1 | fixed | |
bullseye | 2.10-1+deb11u1 | fixed | |
bookworm | 3.3-1+deb12u1 | fixed | |
sid, trixie | 3.8-2 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
python-idna | source | stretch | 2.2-1+deb9u1 | ELA-1121-1 | ||
python-idna | source | buster | 2.6-1+deb10u1 | DLA-3811-1 | ||
python-idna | source | bullseye | 2.10-1+deb11u1 | |||
python-idna | source | bookworm | 3.3-1+deb12u1 | |||
python-idna | source | (unstable) | 3.6-2.1 | 1069127 |
https://github.com/kjd/idna/security/advisories/GHSA-jjg7-2v4v-x38h
https://bugzilla.redhat.com/show_bug.cgi?id=2274779
Fixed by: https://github.com/kjd/idna/commit/5beb28b9dd77912c0dd656d8b0fdba3eb80222e7 (v3.7)