QID 356170

Date Published: 2023-09-28

QID 356170: Amazon Linux Security Advisory for python38 : ALASPYTHON3.8-2023-002

An issue was discovered in python before 3.11.1.
An unnecessary quadratic algorithm exists in one path when processing some inputs to the idna (rfc 3490) decoder, such that a crafted, unreasonably long name being presented to the decoder could lead to a cpu denial of service.
Hostnames are often supplied by remote servers that could be controlled by a malicious actor; in such a scenario, they could trigger excessive cpu consumption on the client attempting to make use of an attacker-supplied supposed hostname.
For example, the attack payload could be placed in the location header of an http response with status code 302.
A fix is planned in 3.11.1, 3.10.9, 3.9.16, 3.8.16, and 3.7.16. (
( CVE-2022-45061)



Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

Successful exploitation of this vulnerability could lead to a securitybreach or could affect integrity, availability, and confidentiality.

  • CVSS V3 rated as High - 7.5 severity.
  • CVSS V2 rated as Medium - 5.4 severity.
  • Solution
    Please refer to Amazon advisory: ALASPYTHON3.8-2023-002 for affected packages and patching details, or update with your package manager.
    Vendor References

    CVEs related to QID 356170

    Software Advisories
    Advisory ID Software Component Link
    ALASPYTHON3.8-2023-002 amazon linux 2 URL Logo alas.aws.amazon.com/AL2/ALASPYTHON3.8-2023-002.html