QID 354792

Date Published: 2023-03-08

QID 354792: Amazon Linux Security Advisory for python : ALAS2-2023-1980

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) an issue in the urllib.parse component of python before v3.11 allows attackers to bypass blocklisting methods by supplying a url that starts with blank characters. (
( CVE-2023-24329)



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: ALAS2-2023-1980 for affected packages and patching details, or update with your package manager.
    Vendor References

    CVEs related to QID 354792

    Software Advisories
    Advisory ID Software Component Link
    ALAS2-2023-1980 amazon linux 2 URL Logo alas.aws.amazon.com/AL2/ALAS-2023-1980.html