#VU84432 Path traversal in galaxy-importer


Published: 2023-12-14

Vulnerability identifier: #VU84432

Vulnerability risk: Medium

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

CVE-ID: CVE-2023-5189

CWE-ID: CWE-22

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
galaxy-importer
Universal components / Libraries / Libraries used by multiple products

Vendor: Ansible

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 update from vendor's website.

Vulnerable software versions

galaxy-importer: 0.2.6 - 0.4.16


External links
http://access.redhat.com/security/cve/CVE-2023-5189
http://bugzilla.redhat.com/show_bug.cgi?id=2234387
http://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.


Latest bulletins with this vulnerability