Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. galaxy-importer
  4. ›
  5. CVE-2023-5189

CVE-2023-5189: Ansible galaxy-importer Path Traversal vulnerability

November 15, 2023 (updated December 6, 2024)

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.

References

  • access.redhat.com/errata/RHSA-2023:7773
  • access.redhat.com/errata/RHSA-2024:1536
  • access.redhat.com/errata/RHSA-2024:2010
  • access.redhat.com/security/cve/CVE-2023-5189
  • bugzilla.redhat.com/show_bug.cgi?id=2234387
  • github.com/advisories/GHSA-55g2-vm3q-7w52
  • github.com/ansible/galaxy-importer
  • github.com/ansible/galaxy-importer/blob/2c5c7c05fdfb0835878234b36de32902c703616d/galaxy_importer/collection.py
  • nvd.nist.gov/vuln/detail/CVE-2023-5189

Code Behaviors & Features

Detect and mitigate CVE-2023-5189 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions up to 0.4.16

Solution

Unfortunately, there is no solution available yet.

Impact 6.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N

Learn more about CVSS

Weakness

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

Source file

pypi/galaxy-importer/CVE-2023-5189.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:25 +0000.