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.
{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_name": "pypy-idna",
            "binary_version": "2.0-3ubuntu0.1~esm1"
        },
        {
            "binary_name": "python-idna",
            "binary_version": "2.0-3ubuntu0.1~esm1"
        },
        {
            "binary_name": "python3-idna",
            "binary_version": "2.0-3ubuntu0.1~esm1"
        }
    ]
}{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_name": "python-pip",
            "binary_version": "8.1.1-2ubuntu0.6+esm8"
        },
        {
            "binary_name": "python-pip-whl",
            "binary_version": "8.1.1-2ubuntu0.6+esm8"
        },
        {
            "binary_name": "python3-pip",
            "binary_version": "8.1.1-2ubuntu0.6+esm8"
        }
    ]
}{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_name": "pypy-idna",
            "binary_version": "2.6-1ubuntu0.1~esm1"
        },
        {
            "binary_name": "python-idna",
            "binary_version": "2.6-1ubuntu0.1~esm1"
        },
        {
            "binary_name": "python3-idna",
            "binary_version": "2.6-1ubuntu0.1~esm1"
        }
    ]
}{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_name": "python-pip",
            "binary_version": "9.0.1-2.3~ubuntu1.18.04.8+esm4"
        },
        {
            "binary_name": "python-pip-whl",
            "binary_version": "9.0.1-2.3~ubuntu1.18.04.8+esm4"
        },
        {
            "binary_name": "python3-pip",
            "binary_version": "9.0.1-2.3~ubuntu1.18.04.8+esm4"
        }
    ]
}