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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2017-11-28T20:00:00Z

Updated: 2024-09-16T17:18:23.027Z

Reserved: 2017-11-28T00:00:00Z

Link: CVE-2017-17042

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2017-11-28T20:29:00.337

Modified: 2024-11-21T03:17:22.873

Link: CVE-2017-17042

cve-icon Redhat

Severity : Moderate

Publid Date: 2017-11-24T00:00:00Z

Links: CVE-2017-17042 - Bugzilla