Path traversal in ansible (Alpine package)



Published: 2020-03-17
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2020-1737
CWE-ID CWE-22
Exploitation vector Local
Public exploit N/A
Vulnerable software
Subscribe
ansible (Alpine package)
Operating systems & Components / Operating system package or component

Vendor Alpine Linux Development Team

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) Path traversal

EUVDB-ID: #VU29026

Risk: Low

CVSSv3.1: 4.8 [CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2020-1737

CWE-ID: CWE-22 - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Exploit availability: No

Description

The vulnerability allows a local user to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences within the "Extract-Zip" function from the "win_unzip" module. A local user can send a specially crafted HTTP request and read arbitrary files on the system.

Mitigation

Install update from vendor's website.

Vulnerable software versions

ansible (Alpine package): 2.7.16-r0

External links

http://git.alpinelinux.org/aports/commit/?id=ec2f3b6aa9db9937f43c70b5c3caa8fbf7132575
http://git.alpinelinux.org/aports/commit/?id=d4da1926ae91c64e47306a32a4627148900ff3c8
http://git.alpinelinux.org/aports/commit/?id=457913175597d4cf53123064b576a5527a9aa0de
http://git.alpinelinux.org/aports/commit/?id=899a908f75043f9a408b168005ecc557d060f15e
http://git.alpinelinux.org/aports/commit/?id=609712eebaae8fa38739e422702af34deca6e4d0


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###