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

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

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 : Deferred

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

Modified: 2025-04-20T01:37:25.860

Link: CVE-2017-17042

cve-icon Redhat

Severity : Moderate

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

Links: CVE-2017-17042 - Bugzilla

cve-icon OpenCVE Enrichment

No data.