CVE-2017-17042: Yardoc Yard

High severity, CVSS 7.5. EPSS: 2.9% chance of exploitation in the next 30 days.

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.

Affected products

  • Yardoc Yard: before 0.9.11 (fixed in 0.9.11)

Published 2017-11-28. Last modified 2026-06-17.