Skip to content
Fencer Vulns
medium 6.3

CVE-2023-5189 json

Hub: insecure galaxy-importer tarfile extraction

published 2023-11-14 2 y ago modified 2026-07-07 4 mo ago also GHSA-55g2-vm3q-7w52 , PYSEC-2026-1401 , EUVD-2023-2886

cvss
6.3
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.0%
EPSS 1.0% chance of exploitation in 30 days, percentile 62%
public exploits
0
none known

Summary

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.

Patch / fix

  • Red Hat Red Hat Ansible Automation Platform 2.4 for RHEL 8 0:0.4.18-1.el8ap
  • Red Hat Red Hat Ansible Automation Platform 2.4 for RHEL 9 0:0.4.18-1.el9ap
  • Red Hat Red Hat Satellite 6.14 for RHEL 8 0:0.4.18-2.el8pc
  • Red Hat Red Hat Satellite 6.15 for RHEL 8 0:0.4.19-2.el8pc
  • foreman satellite utils 6.15, satellite capsule 6.15, satellite 6.15 3.9.1.6-1.el8sat
  • foreman-cli satellite utils 6.15, satellite 6.15 3.9.1.6-1.el8sat
  • foreman-ec2 satellite 6.15 3.9.1.6-1.el8sat
  • foreman-pcp satellite 6.15 3.9.1.6-1.el8sat
  • puppetserver satellite capsule 6.15, satellite 6.15 7.14.0-1.el8sat
  • rubygem-puma satellite 6.15 6.4.2-1.el8sat
  • foreman-ovirt satellite 6.15 3.9.1.6-1.el8sat
  • foreman-redis satellite 6.15 3.9.1.6-1.el8sat

red hat advisories RHSA-2024:2010RHSA-2024:1536RHSA-2023:7773

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2023-5189 updated cvss 6.3

Hub: insecure galaxy-importer tarfile extraction

  • Red Hat Ansible Automation Platform 2.4 for RHEL 8 python39-galaxy-importer 0.4.18-1.el8ap, python3x-galaxy-importer 0.4.18-1.el8ap Red Hat Ansible Automation Platform 2.4 for RHEL 9 python-galaxy-importer 0.4.18-1.el9ap, python3-galaxy-importer 0.4.18-1.el9ap
    fixed: vendor fix RHSA-2023:7773
  • Red Hat Satellite 6.14 for RHEL 8 python-galaxy-importer 0.4.18-2.el8pc, python39-galaxy-importer 0.4.18-2.el8pc
    fixed: vendor fix RHSA-2024:1536
  • Red Hat Satellite 6.15 for RHEL 8 python-galaxy-importer 0.4.19-2.el8pc, python3.11-galaxy-importer 0.4.19-2.el8pc
    fixed: vendor fix RHSA-2024:2010
  • Red Hat Ansible Automation Platform 2.4 for RHEL 8 ansible-core 2.15.8-1.el8ap, ansible-test 2.15.8-1.el8ap Red Hat Ansible Automation Platform 2.4 for RHEL 9 ansible-core 2.15.8-1.el9ap, ansible-test 2.15.8-1.el9ap Red Hat Satellite 6.14 for RHEL 8 candlepin 4.3.12-1.el8sat, satellite 6.14.3-1.el8sat, python-django 3.2.22-1.el8pc, python-flake8 5.0.0-0.1.el8pc, python-jinja2 3.1.3-0.1.el8pc, python-mccabe 0.7.0-0.1.el8pc, +27 more Red Hat Satellite 6.15 for RHEL 8 cjson 1.7.14-5.el8sat, libsolv 0.7.22-6.el8pc, katello 4.11.0-1.el8sat, libcomps 0.1.18-8.el8pc, python-jq 1.6.0-3.el8pc, foreman 3.9.1.6-1.el8sat, +677 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
2 y ago

Exploit prediction

0.98% chance of exploitation in the next 30 days, higher than 62% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2234387 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 6.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N
NVD 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
OSV 3.1 6.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N
GitHub 3.1 6.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N

Affected packages

ecosystem package affected fixed in
pypi galaxy-importer
<=0.4.16
no fix listed

Affected products

  • Red Hat Red Hat Ansible Automation Platform 2.4 for RHEL 8
  • Red Hat Red Hat Ansible Automation Platform 2.4 for RHEL 9
  • Red Hat Red Hat Satellite 6.14 for RHEL 8
  • Red Hat Red Hat Satellite 6.15 for RHEL 8

Classification

Weakness
  • CWE-23 Relative Path Traversal
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.