Amazon Linux AMI update for python-babel



Published: 2023-04-06
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2021-42771
CWE-ID CWE-22
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Amazon Linux AMI
Operating systems & Components / Operating system

python-babel
Operating systems & Components / Operating system package or component

Vendor Amazon Web Services

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Path traversal

EUVDB-ID: #VU66467

Risk: Medium

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

CVE-ID: CVE-2021-42771

CWE-ID: CWE-22 - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Exploit availability: No

Description

The vulnerability allows a remote attacker to user compromise the affected system.

The vulnerability exists due to input validation error when processing directory traversal sequences within the locale .dat files in Babel.Locale. A remote user can load a malicious .dat file containing serialized Python objects and execute arbitrary code on the system.

Mitigation

Update the affected packages:

noarch:
    python27-babel-0.9.4-5.1.9.amzn1.noarch
    python26-babel-0.9.4-5.1.9.amzn1.noarch

src:
    python-babel-0.9.4-5.1.9.amzn1.src

Vulnerable software versions

Amazon Linux AMI: All versions

python-babel: before 0.9.4-5.1.9

External links

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


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

Is there known malware, which exploits this vulnerability?

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



###SIDEBAR###