Information disclosure in YARD - CVE-2017-17042

 

Information disclosure in YARD - CVE-2017-17042

Published: July 7, 2018 / Updated: July 9, 2018


Vulnerability identifier: #VU13603
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2017-17042
CWE-ID: CWE-200
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: lsegal
Affected software:
YARD

Detailed vulnerability description

The vulnerability allows a remote attacker to obtain potentially sensitive information.

The vulnerability exists in lib/yard/core_ext/file.rb in the server due to the application does not block relative paths with an initial ../ sequence. A remote attacker can conduct directory traversal attack and gain access to potentially sensitive information.


How to mitigate CVE-2017-17042

Update to version 0.9.11.

Sources