CVE-2023-5115: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
(updated )
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.
References
- access.redhat.com/errata/RHSA-2023:5701
- access.redhat.com/errata/RHSA-2023:5758
- access.redhat.com/security/cve/CVE-2023-5115
- bugzilla.redhat.com/show_bug.cgi?id=2233810
- github.com/advisories/GHSA-jpvw-p8pr-9g2x
- github.com/ansible-community/ansible-build-data/blob/16d36538b96c65d9e0e28d89781361b69857ac0e/8/CHANGELOG-v8.rst
- github.com/ansible/ansible/commit/1e930684bc0a76ec3d094cd326738ad26416541c
- lists.debian.org/debian-lts-announce/2023/12/msg00018.html
- nvd.nist.gov/vuln/detail/CVE-2023-5115
Detect and mitigate CVE-2023-5115 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →