CVE Catalog
CVE-2017-17042
HighSummary
In YARD versions before 0.9.11, the lib/yard/core_ext/file.rb does not block relative paths starting with the ../ sequence, allowing attackers to conduct directory traversal attacks and read arbitrary files.
Risk Assessment
Attackers may gain access to sensitive files on the server, potentially leading to data exposure or system compromise.
Recommendation
It is recommended to update YARD to version 0.9.11 or later to block the possibility of directory traversal attacks.
Other vulnerabilities in YARD
Original NVD description (English source)
lib/yard/core_ext/file.rb in the server in YARD before 0.9.11 does not block relative paths with an initial ../ sequence, which allows attackers to conduct directory traversal attacks and read arbitrary files.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

