GitHub Advisoryadvisory · PyPI

GHSA-jpvw-p8pr-9g2x Ansible symlink attack vulnerability

MEDIUM Published 2023-12-28 Modified 2024-12-06 Official page ↗
Aliases
CVE-2023-5115
Ecosystem
PyPI
Packages
ansible
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-36
Reviewed
2023-12-29

Affected packages

• PyPI ansible: < 8.5.0 → fixed in 8.5.0

Description

An absolute path traversal attack exists in the Ansible automation platform. This flaw allows an attacker to craft a malicious Ansible role and make the victim execute the role. A symlink can be used to overwrite a file outside of the extraction path.

Related

Alias · CVE (1)

  • CVE-2023-5115 An absolute path traversal attack exists in the Ansible automation platform. vulnerability

Weakness · CWE (2)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
  • CWE-36 Absolute Path Traversal weakness

References