Ansible: malicious role archive can cause ansible-galaxy to overwrite arbitrary files
Published Dec 18, 2023
6.3
MEDIUMCVSS 3.1
EPSS 1.01%
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.
Affected products
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||
|---|---|---|---|---|---|---|
| Red Hat | Red Hat Ansible Automation Platform 1.2 | affected |
|
Configuration 1
- 1.2
- 2.3
- 2.4
Running on/with
- 8.0
- 9.0
Configuration 2
- 1.1
- 1.2
Running on/with
- 8.0
- 9.0
Configuration 3
- 1.0
- 1.1
Running on/with
- 8.0
- 9.0
Configuration 4
- 10.0
No data.
Red Hat Ansible Automation Platform 2.3 for RHEL 8
ansible-core-0:2.14.11-1.el8ap
Fixed · RHSA-2023:5701
Red Hat Ansible Automation Platform 2.3 for RHEL 9
ansible-core-0:2.14.11-1.el9ap
Fixed · RHSA-2023:5701
Red Hat Ansible Automation Platform 2.4 for RHEL 8
ansible-core-0:2.15.5-1.el8ap
Fixed · RHSA-2023:5758
Red Hat Ansible Automation Platform 2.4 for RHEL 9
ansible-core-0:2.15.5-1.el9ap
Fixed · RHSA-2023:5758
Red Hat Ansible Automation Platform 1.2
ansible
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Ansible Automation Platform 2.3 for RHEL 8 | ansible-core-0:2.14.11-1.el8ap | Fixed | RHSA-2023:5701 |
| Red Hat Ansible Automation Platform 2.3 for RHEL 9 | ansible-core-0:2.14.11-1.el9ap | Fixed | RHSA-2023:5701 |
| Red Hat Ansible Automation Platform 2.4 for RHEL 8 | ansible-core-0:2.15.5-1.el8ap | Fixed | RHSA-2023:5758 |
| Red Hat Ansible Automation Platform 2.4 for RHEL 9 | ansible-core-0:2.15.5-1.el9ap | Fixed | RHSA-2023:5758 |
| Red Hat Ansible Automation Platform 1.2 | ansible | Will not fix | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2023–2026- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (7 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 1.01% (0.01013) | 61.91th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.86% (0.00859) | 53.56th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.43% (0.00432) | 60.55th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.07% (0.00073) | 33.79th | v3 (v2023.03.01) |
| Jul 17, 2024 | 0.07% (0.00067) | 29.86th | v3 (v2023.03.01) |
| Dec 30, 2023 | 0.07% (0.00067) | 27.81th | v3 (v2023.03.01) |
| Dec 19, 2023 | 0.04% (0.00045) | 12.30th | v3 (v2023.03.01) |
References (10)
- https://access.redhat.com/errata/RHSA-2023:5701 vendor-advisoryx_refsource_REDHATVendor Advisory
- https://access.redhat.com/errata/RHSA-2023:5758 vendor-advisoryx_refsource_REDHATVendor Advisory
- https://access.redhat.com/security/cve/CVE-2023-5115 vdb-entryx_refsource_REDHATVendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2233810 issue-trackingx_refsource_REDHATIssue Tracking
- https://github.com/advisories/GHSA-jpvw-p8pr-9g2x Advisory
- https://github.com/ansible-community/ansible-build-data/blob/16d36538b96c65d9e0e28d89781361b69857ac0e/8/CHANGELOG-v8.rst#L221
- https://github.com/ansible/ansible/commit/1e930684bc0a76ec3d094cd326738ad26416541c
- https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html
- https://nvd.nist.gov/vuln/detail/CVE-2023-5115
- https://www.cve.org/CVERecord?id=CVE-2023-5115
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/errata/RHSA-2023:5701 | vendor-advisoryx_refsource_REDHATVendor Advisory | |
| https://access.redhat.com/errata/RHSA-2023:5758 | vendor-advisoryx_refsource_REDHATVendor Advisory | |
| https://access.redhat.com/security/cve/CVE-2023-5115 | vdb-entryx_refsource_REDHATVendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2233810 | issue-trackingx_refsource_REDHATIssue Tracking | |
| https://github.com/advisories/GHSA-jpvw-p8pr-9g2x | Advisory | |
| https://github.com/ansible-community/ansible-build-data/blob/16d36538b96c65d9e0e28d89781361b69857ac0e/8/CHANGELOG-v8.rst#L221 | ||
| https://github.com/ansible/ansible/commit/1e930684bc0a76ec3d094cd326738ad26416541c | ||
| https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html | ||
| https://nvd.nist.gov/vuln/detail/CVE-2023-5115 | ||
| https://www.cve.org/CVERecord?id=CVE-2023-5115 |
Change history (0)
No recorded changes yet.