CVE-2023-5115

Ansible: malicious role archive can cause ansible-galaxy to overwrite arbitrary files

Published Dec 18, 2023 CVSS 3.1 · 6.3 Medium EPSS 1.0% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3695-1 ansible security update
EUVD EUVD EUVD-2023-3236 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.
Github GHSA Github GHSA GHSA-jpvw-p8pr-9g2x Ansible symlink attack vulnerability