QID 356245

Date Published: 2023-09-28

QID 356245: Amazon Linux Security Advisory for python38 : ALASPYTHON3.8-2023-005

A flaw was found in python.
A stack-based buffer overflow was discovered in the ctypes module provided within python.
Applications that use ctypes without carefully validating the input passed to it may be vulnerable to this flaw, which would allow an attacker to overflow a buffer on the stack and crash the application.
The highest threat from this vulnerability is to system availability. (
( CVE-2021-3177)



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 Critical - 9.8 severity.
  • CVSS V2 rated as High - 7.5 severity.
  • Solution
    Please refer to Amazon advisory: ALASPYTHON3.8-2023-005 for affected packages and patching details, or update with your package manager.
    Vendor References

    CVEs related to QID 356245

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