CVE-2023-5115
published medium CVSS 3.1 · 6.3Ansible: malicious role archive can cause ansible-galaxy to overwrite arbitrary files
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | ansible-coreRed Hat Ansible Automation Platform 2.3 for RHEL 8 · 0:2.14.11-1.el8ap and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | ansible-coreRed Hat Ansible Automation Platform 2.3 for RHEL 9 · 0:2.14.11-1.el9ap and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | ansible-coreRed Hat Ansible Automation Platform 2.4 for RHEL 8 · 0:2.15.5-1.el8ap and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | ansible-coreRed Hat Ansible Automation Platform 2.4 for RHEL 8 · 0:2.15.5-1.el8ap and later · Other versions: affected | Unaffected | Not stated | redhat |
| Amazon Linux | AL2 | Release evaluation | No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2024-505 | Fixed | Not stated | Amazon Linux assessment |
| Debian | buster | ansible | Advisory build | 2.7.7+dfsg-1+deb10u2 | DLA-3695-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-coreaarch64 | Advisory build | 2.15.5-1.1 | OPENSUSE-SU-2024:13311-1 |
Show 63 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | ansible-coreRed Hat Ansible Automation Platform 2.4 for RHEL 8 · 0:2.15.5-1.el8ap and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | ansible-coreRed Hat Ansible Automation Platform 2.4 for RHEL 9 · 0:2.15.5-1.el9ap and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | ansible-coreRed Hat Ansible Automation Platform 2.4 for RHEL 9 · 0:2.15.5-1.el9ap and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | ansible-coreRed Hat Ansible Automation Platform 2.4 for RHEL 9 · 0:2.15.5-1.el9ap and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | ansibleRed Hat Ansible Automation Platform 1.2 | Affected | Not stated | redhat |
| Amazon Linux | AL2023 | ansible-coreaarch64 | Listed in advisory | Not stated | ALAS2023-2024-505 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-coreppc64le | Advisory build | 2.15.5-1.1 | OPENSUSE-SU-2024:13311-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-cores390x | Advisory build | 2.15.5-1.1 | OPENSUSE-SU-2024:13311-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-corex86_64 | Advisory build | 2.15.5-1.1 | OPENSUSE-SU-2024:13311-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-core-2.16aarch64 | Advisory build | 2.16.9-1.1 | OPENSUSE-SU-2024:14251-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-core-2.16ppc64le | Advisory build | 2.16.9-1.1 | OPENSUSE-SU-2024:14251-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-core-2.16s390x | Advisory build | 2.16.9-1.1 | OPENSUSE-SU-2024:14251-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-core-2.16x86_64 | Advisory build | 2.16.9-1.1 | OPENSUSE-SU-2024:14251-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-core-2.17aarch64 | Advisory build | 2.17.6-1.1 | OPENSUSE-SU-2024:14537-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-core-2.17ppc64le | Advisory build | 2.17.6-1.1 | OPENSUSE-SU-2024:14537-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-core-2.17s390x | Advisory build | 2.17.6-1.1 | OPENSUSE-SU-2024:14537-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-core-2.17x86_64 | Advisory build | 2.17.6-1.1 | OPENSUSE-SU-2024:14537-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-core-2.18aarch64 | Advisory build | 2.18.10-2.1 | OPENSUSE-SU-2025:15638-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-core-2.18ppc64le | Advisory build | 2.18.10-2.1 | OPENSUSE-SU-2025:15638-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-core-2.18s390x | Advisory build | 2.18.10-2.1 | OPENSUSE-SU-2025:15638-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-core-2.18x86_64 | Advisory build | 2.18.10-2.1 | OPENSUSE-SU-2025:15638-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-core-2.19aarch64 | Advisory build | 2.19.4-1.1 | OPENSUSE-SU-2025:15754-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-core-2.19ppc64le | Advisory build | 2.19.4-1.1 | OPENSUSE-SU-2025:15754-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-core-2.19s390x | Advisory build | 2.19.4-1.1 | OPENSUSE-SU-2025:15754-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-core-2.19x86_64 | Advisory build | 2.19.4-1.1 | OPENSUSE-SU-2025:15754-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-core-2.20aarch64 | Advisory build | 2.20.6-1.1 | OPENSUSE-SU-2026:10945-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-core-2.20ppc64le | Advisory build | 2.20.6-1.1 | OPENSUSE-SU-2026:10945-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-core-2.20s390x | Advisory build | 2.20.6-1.1 | OPENSUSE-SU-2026:10945-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-core-2.20x86_64 | Advisory build | 2.20.6-1.1 | OPENSUSE-SU-2026:10945-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-core-2.21aarch64 | Advisory build | 2.21.6-1.1 | OPENSUSE-SU-2026:12451-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-core-2.21ppc64le | Advisory build | 2.21.6-1.1 | OPENSUSE-SU-2026:12451-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-core-2.21s390x | Advisory build | 2.21.6-1.1 | OPENSUSE-SU-2026:12451-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-core-2.21x86_64 | Advisory build | 2.21.6-1.1 | OPENSUSE-SU-2026:12451-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-testaarch64 | Advisory build | 2.15.5-1.1 | OPENSUSE-SU-2024:13311-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-testppc64le | Advisory build | 2.15.5-1.1 | OPENSUSE-SU-2024:13311-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-tests390x | Advisory build | 2.15.5-1.1 | OPENSUSE-SU-2024:13311-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-testx86_64 | Advisory build | 2.15.5-1.1 | OPENSUSE-SU-2024:13311-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-test-2.16aarch64 | Advisory build | 2.16.9-1.1 | OPENSUSE-SU-2024:14251-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-test-2.16ppc64le | Advisory build | 2.16.9-1.1 | OPENSUSE-SU-2024:14251-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-test-2.16s390x | Advisory build | 2.16.9-1.1 | OPENSUSE-SU-2024:14251-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-test-2.16x86_64 | Advisory build | 2.16.9-1.1 | OPENSUSE-SU-2024:14251-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-test-2.17aarch64 | Advisory build | 2.17.6-1.1 | OPENSUSE-SU-2024:14537-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-test-2.17ppc64le | Advisory build | 2.17.6-1.1 | OPENSUSE-SU-2024:14537-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-test-2.17s390x | Advisory build | 2.17.6-1.1 | OPENSUSE-SU-2024:14537-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-test-2.17x86_64 | Advisory build | 2.17.6-1.1 | OPENSUSE-SU-2024:14537-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-test-2.18aarch64 | Advisory build | 2.18.10-2.1 | OPENSUSE-SU-2025:15638-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-test-2.18ppc64le | Advisory build | 2.18.10-2.1 | OPENSUSE-SU-2025:15638-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-test-2.18s390x | Advisory build | 2.18.10-2.1 | OPENSUSE-SU-2025:15638-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-test-2.18x86_64 | Advisory build | 2.18.10-2.1 | OPENSUSE-SU-2025:15638-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-test-2.19aarch64 | Advisory build | 2.19.4-1.1 | OPENSUSE-SU-2025:15754-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-test-2.19ppc64le | Advisory build | 2.19.4-1.1 | OPENSUSE-SU-2025:15754-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-test-2.19s390x | Advisory build | 2.19.4-1.1 | OPENSUSE-SU-2025:15754-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-test-2.19x86_64 | Advisory build | 2.19.4-1.1 | OPENSUSE-SU-2025:15754-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-test-2.20aarch64 | Advisory build | 2.20.6-1.1 | OPENSUSE-SU-2026:10945-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-test-2.20ppc64le | Advisory build | 2.20.6-1.1 | OPENSUSE-SU-2026:10945-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-test-2.20s390x | Advisory build | 2.20.6-1.1 | OPENSUSE-SU-2026:10945-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-test-2.20x86_64 | Advisory build | 2.20.6-1.1 | OPENSUSE-SU-2026:10945-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-test-2.21aarch64 | Advisory build | 2.21.6-1.1 | OPENSUSE-SU-2026:12451-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-test-2.21ppc64le | Advisory build | 2.21.6-1.1 | OPENSUSE-SU-2026:12451-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-test-2.21s390x | Advisory build | 2.21.6-1.1 | OPENSUSE-SU-2026:12451-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-test-2.21x86_64 | Advisory build | 2.21.6-1.1 | OPENSUSE-SU-2026:12451-1 |
| Amazon Linux | AL2023 | ansible-coresrc | Listed in advisory | Not stated | ALAS2023-2024-505 |
| Amazon Linux | AL2023 | ansible-corex86_64 | Listed in advisory | Not stated | ALAS2023-2024-505 |
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 advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Red Hat | Red Hat Ansible Automation Platform 2.3 for RHEL 8 | 0:2.14.11-1.el8ap and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Ansible Automation Platform 2.3 for RHEL 9 | 0:2.14.11-1.el9ap and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Ansible Automation Platform 2.4 for RHEL 8 | 0:2.15.5-1.el8ap and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Ansible Automation Platform 2.4 for RHEL 8 | 0:2.15.5-1.el8ap and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Ansible Automation Platform 2.4 for RHEL 8 | 0:2.15.5-1.el8ap and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Ansible Automation Platform 2.4 for RHEL 9 | 0:2.15.5-1.el9ap and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Ansible Automation Platform 2.4 for RHEL 9 | 0:2.15.5-1.el9ap and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Ansible Automation Platform 2.4 for RHEL 9 | 0:2.15.5-1.el9ap and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Ansible Automation Platform 1.2 | Default: affected | redhat · cna |
Weaknesses
1- CWE-36 Absolute Path Traversal
References
5- RHSA-2023:5701 https://access.redhat.com/errata/RHSA-2023:5701
- RHSA-2023:5758 https://access.redhat.com/errata/RHSA-2023:5758
- https://access.redhat.com/security/cve/CVE-2023-5115
- RHBZ#2233810 https://bugzilla.redhat.com/show_bug.cgi?id=2233810
- https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html
Provider assertions
2redhat · cna
Ansible: malicious role archive can cause ansible-galaxy to overwrite arbitrary files
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ce50057a27946c8b8d31256b60c951d547d00953fc3bad2a815d3fd8b7af5ce2
- Ingested
- 26 Nov 2026, 17:13:39 UTC
- Source record
- Official CVE record