Multiple vulnerabilities in Red Hat Ansible Automation Platform 2.4



Risk Medium
Patch available YES
Number of vulnerabilities 2
CVE-ID CVE-2023-5764
CVE-2023-5189
CWE-ID CWE-94
CWE-22
Exploitation vector Network
Public exploit N/A
Vulnerable software
python3x-galaxy-importer (Red Hat package)
Operating systems & Components / Operating system package or component

python-galaxy-importer (Red Hat package)
Operating systems & Components / Operating system package or component

ansible-core (Red Hat package)
Operating systems & Components / Operating system package or component

Vendor Red Hat Inc.

Security Bulletin

This security bulletin contains information about 2 vulnerabilities.

1) Code Injection

EUVDB-ID: #VU84381

Risk: Medium

CVSSv4.0: 6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2023-5764

CWE-ID: CWE-94 - Improper Control of Generation of Code ('Code Injection')

Exploit availability: No

Description

The vulnerability allows a remote user to execute arbitrary code on the target system.

The vulnerability exists due to improper input validation when handling templates. A remote user can remove the unsafe designation from template data and execute arbitrary code on the system.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

python3x-galaxy-importer (Red Hat package): before 0.4.18-1.el8ap

python-galaxy-importer (Red Hat package): before 0.4.18-1.el9ap

ansible-core (Red Hat package): before 2.15.8-1.el8ap

CPE2.3 External links

https://access.redhat.com/errata/RHSA-2023:7773


Q & A

Can this vulnerability be exploited remotely?

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

Is there known malware, which exploits this vulnerability?

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

2) Path traversal

EUVDB-ID: #VU84432

Risk: Medium

CVSSv4.0: 4.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2023-5189

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 perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences in symbolic link filename within the _extract_archive() function in galaxy-importer/collection.py. A remote attacker can trick the victim to use a specially crafted archive and overwrite arbitrary files on the system.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

python3x-galaxy-importer (Red Hat package): before 0.4.18-1.el8ap

python-galaxy-importer (Red Hat package): before 0.4.18-1.el9ap

ansible-core (Red Hat package): before 2.15.8-1.el8ap

CPE2.3 External links

https://access.redhat.com/errata/RHSA-2023:7773


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###