Vulnerability · Published Nov 14, 2023 · Assigned by redhat

CVE-2023-5189Hub: insecure galaxy-importer tarfile extraction

Medium 6.3

In plain English

A medium-severity security flaw in Red Hat Ansible Automation Platform 2.4 for RHEL 8 from Red Hat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 62% of all known vulnerabilities).

Severity (CVSS 3.1)6.3Medium
Exploit odds (30 days)1.0%top 37.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

A path traversal vulnerability exists in Ansible when extracting tarballs. An attacker could craft a malicious tarball so that when using the galaxy importer of Ansible Automation Hub, a symlink could be dropped on the disk, resulting in files being overwritten.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIgalaxy-importerno fix listedPYSEC-2026-1401
PyPIgalaxy-importerno fix listedGHSA-55g2-vm3q-7w52
Ubuntu:24.04:LTSansibleno fix listedUBUNTU-CVE-2023-5189
Ubuntu:25.10ansibleno fix listedUBUNTU-CVE-2023-5189
Ubuntu:26.04:LTSansibleno fix listedUBUNTU-CVE-2023-5189
Ubuntu:26.10ansibleno fix listedUBUNTU-CVE-2023-5189
Ubuntu:22.04:LTSansible-coreno fix listedUBUNTU-CVE-2023-5189
Ubuntu:24.04:LTSansible-coreno fix listedUBUNTU-CVE-2023-5189
Ubuntu:25.10ansible-coreno fix listedUBUNTU-CVE-2023-5189
Ubuntu:26.04:LTSansible-coreno fix listedUBUNTU-CVE-2023-5189
Ubuntu:26.10ansible-coreno fix listedUBUNTU-CVE-2023-5189

Affected products (as reported)

Weakness: CWE-23 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N

References