QID 355180

Date Published: 2023-05-29

QID 355180: Amazon Linux Security Advisory for python3.9 : ALAS2023-2023-104

python 3.9.x before 3.9.16 and 3.10.x before 3.10.9 on linux allows local privilege escalation in a non-default configuration.
The python multiprocessing library, when used with the forkserver start method on linux, allows pickles to be deserialized from any user in the same machine local network namespace, which in many system configurations means any user on the same machine.
Pickles can execute arbitrary code.
Thus, this allows for local user privilege escalation to the user that any forkserver process is running as.
Setting multiprocessing.util.abstract_sockets_supported to false is a workaround.
The forkserver start method for multiprocessing is not the default start method.
This issue is linux specific because only linux supports abstract namespace sockets.
Cpython before 3.9 does not make use of linux abstract namespace sockets by default.
Support for users manually specifying an abstract namespace socket was added as a bugfix in 3.7.8 and 3.8.3, but users would need to make specific uncommon api calls in order to do that in cpython before 3.9. (
( CVE-2022-42919) 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.
A fix is planned in 3.11.1, 3.10.9, 3.9.16, 3.8.16, and 3.7.16. (
( CVE-2022-45061)


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

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

    CVEs related to QID 355180

    Software Advisories
    Advisory ID Software Component Link
    ALAS2023-2023-104 amazon linux 2023 URL Logo alas.aws.amazon.com/AL2023/ALAS-2023-104.html