CVE-2019-3828: Path Traversal
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.
Other sources
Ansible fetch module 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.
— Red Hat
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/ansible-engineto a version that resolves this vulnerability.Fixed in 2.5.15 - Upgrade
Upgrade
redhat/ansible-engineto a version that resolves this vulnerability.Fixed in 2.6.14 - Upgrade
Upgrade
redhat/ansible-engineto a version that resolves this vulnerability.Fixed in 2.7.8 - Upgrade
Upgrade
pip/ansibleto a version that resolves this vulnerability.Fixed in 2.7.8 - Upgrade
Upgrade
pip/ansibleto a version that resolves this vulnerability.Fixed in 2.6.14 - Upgrade
Upgrade
pip/ansibleto a version that resolves this vulnerability.Fixed in 2.5.15 - Upgrade
Upgrade
debian/ansibleto a version that resolves this vulnerability.Fixed in 2.10.7+merged+base+2.10.17+dfsg-0+deb11u1Fixed in 2.10.7+merged+base+2.10.17+dfsg-0+deb11u4Fixed in 7.7.0+dfsg-3+deb12u1Fixed in 12.0.0+dfsg-0+deb13u1Fixed in 13.4.0+dfsg-1 - Upgrade
Upgrade
alpine/ansibleto a version that resolves this vulnerability.Fixed in 2.8.11-r0 - Upgrade
Upgrade
alpine/ansibleto a version that resolves this vulnerability.Fixed in 2.9.7-r0 - Upgrade
Upgrade
alpine/ansibleto a version that resolves this vulnerability.Fixed in 2.5.15-r0 - Upgrade
Upgrade
alpine/ansibleto a version that resolves this vulnerability.Fixed in 2.7.17-r0 - Upgrade
Upgrade
alpine/ansible-baseto a version that resolves this vulnerability.Fixed in 2.9.7-r0 - Upgrade
Upgrade
Ansible fetch moduleto a version that resolves this vulnerability.Fixed in 2.5.15
Event History
Frequently Asked Questions
What is CVE-2019-3828?
CVE-2019-3828 is a path traversal vulnerability in the Ansible fetch module before versions 2.5.15, 2.6.14, and 2.7.8.
How does CVE-2019-3828 affect Ansible?
CVE-2019-3828 allows an attacker to copy and overwrite files outside of the specified destination in the local Ansible controller host.
What is the severity of CVE-2019-3828?
The severity of CVE-2019-3828 is medium with a CVSS score of 4.2.
How can I fix CVE-2019-3828 in Ansible?
To fix CVE-2019-3828 in Ansible, upgrade to version 2.5.15, 2.6.14, or 2.7.8.
Where can I find more information about CVE-2019-3828?
More information about CVE-2019-3828 can be found on the NVD (National Vulnerability Database) and GitHub.