GitHub Advisoryadvisory · PyPI

GHSA-55g2-vm3q-7w52 Ansible galaxy-importer Path Traversal vulnerability

MEDIUM Published 2023-11-15 Modified 2024-12-06 Official page ↗
Aliases
CVE-2023-5189
Ecosystem
PyPI
Packages
galaxy-importer
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N
Weaknesses
CWE-22, CWE-23
Reviewed
2023-11-16

Affected packages

• PyPI galaxy-importer: <= 0.4.16 (no fix yet)

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.

Related

Alias · CVE (1)

  • CVE-2023-5189 A path traversal vulnerability exists in Ansible when extracting tarballs. vulnerability

Weakness · CWE (2)

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

References