CVE-2023-5115
published 2023-12-18CVE-2023-5115: 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…
PriorityP336medium6.3CVSS 3.1
AVNACLPRLUIRSUCLIHAN
EPSS
0.86%
54.4th percentile
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.
Affected
21 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | ansible | < ansible 5.4.0-1 (bookworm) | ansible 5.4.0-1 (bookworm) |
| debian | ansible-core | < ansible 5.4.0-1 (bookworm) | ansible 5.4.0-1 (bookworm) |
| debian | debian_linux | — | — |
| msrc | azl3_ansible_2.15.3-1_on_azure_linux_3.0 | — | — |
| msrc | azl3_ansible_2.17.0-1_on_azure_linux_3.0 | — | — |
| msrc | azure_linux_3.0_arm | — | — |
| msrc | azure_linux_3.0_x64 | — | — |
| msrc | cbl2_ansible_2.14.11-1_on_cbl_mariner_2.0 | — | — |
| msrc | cbl2_ansible_2.14.12-2_on_cbl_mariner_2.0 | — | — |
| redhat | ansible | >= 0 < 2.10.7+merged+base+2.10.17+dfsg-0+deb11u1 | 2.10.7+merged+base+2.10.17+dfsg-0+deb11u1 |
| redhat | ansible | >= 0 < 5.4.0-1 | 5.4.0-1 |
| redhat | ansible | >= 0 < 5.4.0-1 | 5.4.0-1 |
| redhat | ansible | >= 0 < 5.4.0-1 | 5.4.0-1 |
| redhat | ansible | >= 0 < 8.5.0 | 8.5.0 |
| redhat | ansible_automation_platform | — | — |
| redhat | ansible_automation_platform | — | — |
| redhat | ansible_automation_platform | — | — |
| redhat | ansible_developer | — | — |
| redhat | ansible_developer | — | — |
| redhat | ansible_inside | — | — |
| redhat | ansible_inside | — | — |
CVSS provenance
nvdv3.16.3MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N
osv6.3MEDIUM
vendor_debian6.3MEDIUM
vendor_msrc6.3MEDIUM
vendor_redhat6.3MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
Ansible symlink attack vulnerability
osv·2023-12-28
CVE-2023-5115 [MEDIUM] Ansible symlink attack vulnerability
Ansible symlink attack vulnerability
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.
GHSA
Ansible symlink attack vulnerability
ghsa·2023-12-28
CVE-2023-5115 [MEDIUM] CWE-22 Ansible symlink attack vulnerability
Ansible symlink attack vulnerability
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.
OSV
CVE-2023-5115: An absolute path traversal attack exists in the Ansible automation platform
osv·2023-12-18·CVSS 6.3
CVE-2023-5115 [MEDIUM] CVE-2023-5115: An absolute path traversal attack exists in the Ansible automation platform
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.
Microsoft
Ansible: malicious role archive can cause ansible-galaxy to overwrite arbitrary files
vendor_msrc·2023-12-12·CVSS 6.3
CVE-2023-5115 [MEDIUM] CWE-36 Ansible: malicious role archive can cause ansible-galaxy to overwrite arbitrary files
Ansible: malicious role archive can cause ansible-galaxy to overwrite arbitrary files
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
redhat: redhat
Customer Action Required: Yes
Remediation: CBL-Mariner Re
Red Hat
Ansible: malicious role archive can cause ansible-galaxy to overwrite arbitrary files
vendor_redhat·2023-09-21·CVSS 6.3
CVE-2023-5115 [MEDIUM] CWE-36 Ansible: malicious role archive can cause ansible-galaxy to overwrite arbitrary files
Ansible: malicious role archive can cause ansible-galaxy to overwrite arbitrary files
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.
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.
Package: ansible (Red Hat Ansible Automation Platform 1.2) - Will not fix
Debian
CVE-2023-5115: ansible - An absolute path traversal attack exists in the Ansible automation platform. Thi...
vendor_debian·2023·CVSS 6.3
CVE-2023-5115 [MEDIUM] CVE-2023-5115: ansible - An absolute path traversal attack exists in the Ansible automation platform. Thi...
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.
Scope: local
bookworm: resolved (fixed in 5.4.0-1)
bullseye: resolved (fixed in 2.10.7+merged+base+2.10.17+dfsg-0+deb11u1)
forky: resolved (fixed in 5.4.0-1)
sid: resolved (fixed in 5.4.0-1)
trixie: resolved (fixed in 5.4.0-1)
No detection rules found.
No public exploits indexed.
https://access.redhat.com/errata/RHSA-2023:5701https://access.redhat.com/errata/RHSA-2023:5758https://access.redhat.com/security/cve/CVE-2023-5115https://bugzilla.redhat.com/show_bug.cgi?id=2233810https://access.redhat.com/errata/RHSA-2023:5701https://access.redhat.com/errata/RHSA-2023:5758https://access.redhat.com/security/cve/CVE-2023-5115https://bugzilla.redhat.com/show_bug.cgi?id=2233810https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html
2023-12-18
Published