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.
The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize absolute path sequences such as "/abs/path" that can resolve to a location that is outside of that directory.
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Link | Tags |
---|---|
https://access.redhat.com/errata/RHSA-2023:5701 | vendor advisory |
https://access.redhat.com/errata/RHSA-2023:5758 | vendor advisory |
https://access.redhat.com/security/cve/CVE-2023-5115 | vdb entry vendor advisory |
https://bugzilla.redhat.com/show_bug.cgi?id=2233810 | issue tracking |
https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html |