cve.bz

CVE-2023-5189 redhat: Relative Path Traversal

6.5 mediumExploit referenceEPSS 1.0%Fix available

Medium (6.5) in redhat. EPSS 1.0% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
EPSS
1.0% (unchanged from 1.0% a week ago; 1.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 63rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-08-29. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-23 Relative Path Traversal
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-5189 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-5189?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-5189?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-5189 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Ansible Automation Platform 2.4 for RHEL 80:0.4.18-1.el8ap
Red Hat Ansible Automation Platform 2.4 for RHEL 90:0.4.18-1.el9ap
Red Hat Satellite 6.14 for RHEL 80:0.4.18-2.el8pc
Red Hat Satellite 6.15 for RHEL 80:0.4.19-2.el8pc

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-55g2-vm3q-7w52PyPIgalaxy-importer<=0.4.16no fix published
PYSEC-2026-1401PyPIgalaxy-importer<=0.4.16no fix published

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu22.04:LTSansible-coreno fix listedUBUNTU-CVE-2023-5189
Ubuntu24.04:LTS, 25.10, 26.04:LTS and 1 moreansible, ansible-coreno fix listedUBUNTU-CVE-2023-5189
UbuntuPro:14.04:LTS, Pro:16.04:LTS, Pro:18.04:LTS and 2 moreansibleno fix listedUBUNTU-CVE-2023-5189
Red Hatansible_automation_platform:2.4::el8python39-galaxy-importer, python3x-galaxy-importer0:0.4.18-1.el8apRHSA-2023:7773
Red Hatansible_automation_platform:2.4::el8, ansible_automation_platform_developer:2.4::el8, ansible_automation_platform_inside:2.4::el8ansible-core1:2.15.8-1.el8apRHSA-2023:7773
Red Hatansible_automation_platform:2.4::el9python-galaxy-importer, python3-galaxy-importer0:0.4.18-1.el9apRHSA-2023:7773
Red Hatansible_automation_platform:2.4::el9, ansible_automation_platform_developer:2.4::el9, ansible_automation_platform_inside:2.4::el9ansible-core1:2.15.8-1.el9apRHSA-2023:7773
Red Hatsatellite:6.14::el8, satellite_capsule:6.14::el8python-aiohttp, python39-aiohttp, python-aiohttp-debugsource and 1 more0:3.9.2-0.1.el8pcRHSA-2024:1536
Red Hatsatellite:6.14::el8, satellite_capsule:6.14::el8python-django, python39-django0:3.2.22-1.el8pcRHSA-2024:1536
Red Hatsatellite:6.14::el8, satellite_capsule:6.14::el8python-galaxy-importer, python39-galaxy-importer0:0.4.18-2.el8pcRHSA-2024:1536
Red Hatsatellite:6.14::el8, satellite_capsule:6.14::el8python-jinja2, python39-jinja20:3.1.3-0.1.el8pcRHSA-2024:1536
Red Hatsatellite:6.15::el8foreman, foreman-cli, foreman-ec2 and 12 more0:3.9.1.6-1.el8satRHSA-2024:2010
Red Hatsatellite:6.15::el8rubygem-audited0:5.4.2-1.el8satRHSA-2024:2010
Red Hatsatellite:6.15::el8rubygem-puma, rubygem-puma-debuginfo, rubygem-puma-debugsource0:6.4.2-1.el8satRHSA-2024:2010
Red Hatsatellite:6.15::el8, satellite_capsule:6.15::el8puppetserver0:7.14.0-1.el8satRHSA-2024:2010
9 more for Red Hat in the JSON and on Red Hat's page.

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu · Red Hat.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Ansible Automation Platform 2.4 for RHEL 8python3x-galaxy-importer-0:0.4.18-1.el8apFixed 2023-12-13RHSA-2023:7773
Red Hat Ansible Automation Platform 2.4 for RHEL 9python-galaxy-importer-0:0.4.18-1.el9apFixed 2023-12-13RHSA-2023:7773
Red Hat Satellite 6.14 for RHEL 8python-galaxy-importer-0:0.4.18-2.el8pcFixed 2024-03-27RHSA-2024:1536
Red Hat Satellite 6.15 for RHEL 8python-galaxy-importer-0:0.4.19-2.el8pcFixed 2024-04-23RHSA-2024:2010

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-5189.

Attack patterns (CAPEC)

  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-139 Relative Path Traversal Likelihood: High · Severity: High
  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON