CVE-2023-5115
Ansible: malicious role archive can cause ansible-galaxy to overwrite arbitrary files
- State
- Published
- Severity
- 6.3 Medium
- Published
- Dec 18, 2023
- Updated
- Nov 20, 2025
- Reserved
- Sep 21, 2023
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 6.3 Medium | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N | redhat |
Weaknesses
- CWE-36 Absolute Path Traversal
Affected Products
| Product | Versions |
|---|---|
Red Hat Ansible Automation Platform 2.3 for RHEL 8Red Hat |
|
Red Hat Ansible Automation Platform 2.3 for RHEL 9Red Hat |
|
Red Hat Ansible Automation Platform 2.4 for RHEL 8Red Hat |
|
Red Hat Ansible Automation Platform 2.4 for RHEL 9Red Hat |
|
Red Hat Ansible Automation Platform 1.2Red Hat |
References
- RHSA-2023:5701vendor-advisory
- RHSA-2023:5758vendor-advisory
- https://access.redhat.com/security/cve/CVE-2023-5115vdb-entry
- RHBZ#2233810issue-tracking
- https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.