Information disclosure in YARD - CVE-2017-17042
Published: July 7, 2018 / Updated: July 9, 2018
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
Fedora
Opensuse
rubygem-yard
How to mitigate CVE-2017-17042
rubygem-yard - addressed in versions 0.8.7.6-4.fc25, 0.9.8-4.fc26, 0.9.8-4.fc27