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: 6.9 [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]
CVE-ID: CVE-2017-17042
CWE-ID: CWE-200
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

YARD
Fedora
Opensuse
rubygem-yard

How to mitigate CVE-2017-17042

Update to version 0.9.11.

YARD - update to 0.9.11
rubygem-yard - addressed in versions 0.8.7.6-4.fc25, 0.9.8-4.fc26, 0.9.8-4.fc27

External References

Related Security Bulletins