medium6.3
CVE-2023-5115
Ansible symlink attack vulnerability
Impact
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 packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | ansible | < 8.5.0 | 8.5.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Redhat | Ansible Automation Platform | Versions 1.2, 2.3, 2.4 |
| Redhat | Ansible Inside | Versions 1.1, 1.2 |
| Redhat | Ansible Developer | Versions 1.0, 1.1 |
| Debian | Debian Linux | Version 10.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://access.redhat.com/errata/RHSA-2023:5701
- https://access.redhat.com/errata/RHSA-2023:5758
- https://access.redhat.com/security/cve/CVE-2023-5115
- https://bugzilla.redhat.com/show_bug.cgi?id=2233810
- https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html
- https://github.com/advisories/GHSA-jpvw-p8pr-9g2x
- https://nvd.nist.gov/vuln/detail/CVE-2023-5115
- https://github.com/ansible/ansible/commit/1e930684bc0a76ec3d094cd326738ad26416541c
- https://github.com/ansible-community/ansible-build-data/blob/16d36538b96c65d9e0e28d89781361b69857ac0e/8/CHANGELOG-v8.rst#L221