Path traversal in ruby (Alpine package)



Published: 2019-05-06
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2019-8320
CWE-ID CWE-22
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
ruby (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: #VU20193

Risk: Low

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

CVE-ID: CVE-2019-8320

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

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences in gems. A remote attacker can trick the victim to load a specially crafted gem and delete arbitrary files on the system.

Mitigation

Install update from vendor's website.

Vulnerable software versions

ruby (Alpine package): 2.4.5-r0

External links

http://git.alpinelinux.org/aports/commit/?id=1ea961c4c2a72cdf6383b2bba3c33f4e9faa26da
http://git.alpinelinux.org/aports/commit/?id=26cc34eb049b628c4c35af1f61ebd8437596d8ca
http://git.alpinelinux.org/aports/commit/?id=bdcdc921e8387c8a9592aa14cf1d23f133503163
http://git.alpinelinux.org/aports/commit/?id=58244868e7a471ddf96e8d0ece88c240e34bff1c
http://git.alpinelinux.org/aports/commit/?id=ac00a3ec880f7f8f92ff425d4e08f233bd5654c9


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

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



###SIDEBAR###