{"id":"CVE-2017-17042","published":"2017-11-28T20:00:00Z","modified":"2024-09-16T17:18:23Z","title":"lib/yard/core_ext/file.rb in the server in YARD before 0.9.11 does not block relative paths with an initial ../…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.02894,"percentile":0.87252,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/lsegal/yard/commit/b0217b3e30dc53d057b1682506333335975e62b4","tags":["x_refsource_CONFIRM"]}],"priority":{"score":17.5,"factors":[{"name":"EPSS percentile","points":17.45}]},"affected":[{"ecosystem":"RubyGems","package":"yard","vulnerableRanges":["<0.9.11"],"patched":["0.9.11"],"from":["GHSA-gj4p-3wh3-2rmf"],"provenance":"source"}],"summary":{"text":"The flaw lives in lib/yard/core_ext/file.rb within the server component of YARD, in versions before 0.9.11, where relative paths beginning with a ../ sequence are not blocked. An attacker who can send requests to that server can exploit this directory traversal to read arbitrary files on the system.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:29:05Z"},"euvd":{"id":"EUVD-2017-0362","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2017-17042","published":"2017-11-28","fixed":"0.9.11","kev":false},{"cve":"CVE-2019-1020001","published":"2019-07-29","fixed":"0.9.20","kev":false,"link":{"from":"CVE-2017-17042","to":"CVE-2019-1020001","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:yard","fromFixed":"0.9.11","toFixed":"0.9.20","daysApart":608}]}},{"cve":"CVE-2024-27285","published":"2024-02-28","fixed":"0.9.36","kev":false},{"cve":"CVE-2026-41493","published":"2026-05-08","fixed":"0.9.42","kev":false}],"package":"RubyGems:yard"}}