Amazon Linux AMI update for python3.9



Published: 2024-08-06
Risk Medium
Patch available YES
Number of vulnerabilities 2
CVE-ID CVE-2020-10735
CVE-2023-24329
CWE-ID CWE-704
CWE-20
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Amazon Linux AMI
Operating systems & Components / Operating system

python3.9
Operating systems & Components / Operating system package or component

Vendor Amazon Web Services

Security Bulletin

This security bulletin contains information about 2 vulnerabilities.

1) Type conversion

EUVDB-ID: #VU67760

Risk: Medium

CVSSv3.1: 4.6 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:U/RL:O/RC:C]

CVE-ID: CVE-2020-10735

CWE-ID: CWE-704 - Type conversion

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a type confusion in algorithms with quadratic time complexity when using non-binary bases within the int() call. A remote attacker can pass specially crafted data to the affected application and perform a denial of service (DoS) attack.

Mitigation

Update the affected packages:

aarch64:
    python3-3.9.16-1.amzn2023.0.3.aarch64
    python3-devel-3.9.16-1.amzn2023.0.3.aarch64
    python3-tkinter-3.9.16-1.amzn2023.0.3.aarch64
    python3-idle-3.9.16-1.amzn2023.0.3.aarch64
    python3.9-debugsource-3.9.16-1.amzn2023.0.3.aarch64
    python3-debug-3.9.16-1.amzn2023.0.3.aarch64
    python3.9-debuginfo-3.9.16-1.amzn2023.0.3.aarch64
    python3-libs-3.9.16-1.amzn2023.0.3.aarch64
    python3-test-3.9.16-1.amzn2023.0.3.aarch64

noarch:
    python-unversioned-command-3.9.16-1.amzn2023.0.3.noarch

src:
    python3.9-3.9.16-1.amzn2023.0.3.src

x86_64:
    python3-3.9.16-1.amzn2023.0.3.x86_64
    python3-tkinter-3.9.16-1.amzn2023.0.3.x86_64
    python3-devel-3.9.16-1.amzn2023.0.3.x86_64
    python3-idle-3.9.16-1.amzn2023.0.3.x86_64
    python3.9-debugsource-3.9.16-1.amzn2023.0.3.x86_64
    python3-debug-3.9.16-1.amzn2023.0.3.x86_64
    python3.9-debuginfo-3.9.16-1.amzn2023.0.3.x86_64
    python3-libs-3.9.16-1.amzn2023.0.3.x86_64
    python3-test-3.9.16-1.amzn2023.0.3.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

python3.9: before 3.9.16-1

External links

http://alas.aws.amazon.com/AL2023/ALAS-2023-116.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

2) Input validation error

EUVDB-ID: #VU72618

Risk: Medium

CVSSv3.1: 4.6 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2023-24329

CWE-ID: CWE-20 - Improper input validation

Exploit availability: No

Description

The vulnerability allows a remote attacker to bypass implemented filters.

The vulnerability exists due to insufficient validation of URLs that start with blank characters within urllib.parse component of Python. A remote attacker can pass specially crafted URL to bypass existing filters.

Mitigation

Update the affected packages:

aarch64:
    python3-3.9.16-1.amzn2023.0.3.aarch64
    python3-devel-3.9.16-1.amzn2023.0.3.aarch64
    python3-tkinter-3.9.16-1.amzn2023.0.3.aarch64
    python3-idle-3.9.16-1.amzn2023.0.3.aarch64
    python3.9-debugsource-3.9.16-1.amzn2023.0.3.aarch64
    python3-debug-3.9.16-1.amzn2023.0.3.aarch64
    python3.9-debuginfo-3.9.16-1.amzn2023.0.3.aarch64
    python3-libs-3.9.16-1.amzn2023.0.3.aarch64
    python3-test-3.9.16-1.amzn2023.0.3.aarch64

noarch:
    python-unversioned-command-3.9.16-1.amzn2023.0.3.noarch

src:
    python3.9-3.9.16-1.amzn2023.0.3.src

x86_64:
    python3-3.9.16-1.amzn2023.0.3.x86_64
    python3-tkinter-3.9.16-1.amzn2023.0.3.x86_64
    python3-devel-3.9.16-1.amzn2023.0.3.x86_64
    python3-idle-3.9.16-1.amzn2023.0.3.x86_64
    python3.9-debugsource-3.9.16-1.amzn2023.0.3.x86_64
    python3-debug-3.9.16-1.amzn2023.0.3.x86_64
    python3.9-debuginfo-3.9.16-1.amzn2023.0.3.x86_64
    python3-libs-3.9.16-1.amzn2023.0.3.x86_64
    python3-test-3.9.16-1.amzn2023.0.3.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

python3.9: before 3.9.16-1

External links

http://alas.aws.amazon.com/AL2023/ALAS-2023-116.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###