Ansible fetch module before versions 2.5.15, 2.6.14, 2.7.8 has a path traversal vulnerability which allows copying and overwriting files outside of the specified destination in the local ansible controller host, by not restricting an absolute path.
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://github.com/ansible/ansible/pull/52133 | third party advisory patch |
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3828 | issue tracking third party advisory patch |
http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00021.html | third party advisory vendor advisory |
http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00077.html | third party advisory vendor advisory |
https://usn.ubuntu.com/4072-1/ | third party advisory vendor advisory |
http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00020.html | third party advisory vendor advisory |
https://access.redhat.com/errata/RHSA-2019:3744 | third party advisory vendor advisory |
https://access.redhat.com/errata/RHSA-2019:3789 | third party advisory vendor advisory |
http://packetstormsecurity.com/files/172837/Ansible-Fetch-Path-Traversal.html |