CVE-2023-5189

Aliases:GHSA-55g2-vm3q-7w52
Advisory lineage Upstream: 0 Downstream: 4
Modified
Published: 14 Nov 2023, 22:57
Last modified:20 Nov 2025, 17:30

Vulnerability Summary

Overall Risk (default)
medium
36/100
CVSS Score
6.5 MEDIUM
v3.1 (nvd)
EPSS Score
0.72% LOW
1% probability +0.08%
KEV
Not listed
Ransomware
No reports
Public exploits
1 found
Dark Web
Not detected

Timeline

14 Nov 2023, 22:57
Published
Vulnerability first disclosed
20 Nov 2025, 17:30
Last Modified
Vulnerability information updated

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.

CVSS Metrics

  • v3.1MEDIUMScore: 6.3CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N
  • v3.1MEDIUMScore: 6.5CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

EPSS Trends

Current EPSS score: 0.72% Percentile: 73%

Techniques & Countermeasures

  • CWE-22Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

    The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

  • CWE-23Relative Path Traversal

    The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize sequences such as ".." that can resolve to a location that is outside of that directory.

Affected Systems

  • PyPIgalaxy-importer

    ≤ 0.4.16

  • redhatansible_automation_platform

    2.0

  • redhatsatellite

    6.0

References (8)