{"id":"CVE-2017-17042","details":"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.","aliases":["GHSA-gj4p-3wh3-2rmf"],"modified":"2026-04-11T18:28:17.391012Z","published":"2017-11-28T20:29:00.337Z","related":["SUSE-SU-2018:1890-1","openSUSE-SU-2024:11532-1"],"references":[{"type":"FIX","url":"https://github.com/lsegal/yard/commit/b0217b3e30dc53d057b1682506333335975e62b4"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/lsegal/yard","events":[{"introduced":"0"},{"fixed":"7748eda4b96817b0b9ebd7efffbd32d510829393"},{"fixed":"b0217b3e30dc53d057b1682506333335975e62b4"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"0.9.11"}],"source":["CPE_FIELD","REFERENCES"],"cpe":"cpe:2.3:a:yardoc:yard:*:*:*:*:*:*:*:*"}}],"versions":["v0.2.2","v0.2.3","v0.2.3.1","v0.2.3.2","v0.4.0","v0.5.0","v0.5.1","v0.5.2","v0.5.3","v0.5.4","v0.5.5","v0.5.6","v0.5.7","v0.5.8","v0.6.0","v0.6.1","v0.6.2","v0.6.3","v0.6.4","v0.6.5","v0.6.6","v0.6.7","v0.6.8","v0.7.0","v0.7.1","v0.7.2","v0.7.3","v0.7.4","v0.8.0","v0.8.1","v0.8.2","v0.8.2.1","v0.8.3","v0.8.4","v0.8.4.1","v0.8.5","v0.8.5.1","v0.8.5.2","v0.8.6","v0.8.6.1","v0.8.6.2","v0.8.7","v0.8.7.1","v0.8.7.2","v0.8.7.3","v0.8.7.4","v0.8.7.5","v0.8.7.6","v0.9.0","v0.9.1","v0.9.10","v0.9.2","v0.9.3","v0.9.4","v0.9.5","v0.9.6","v0.9.7","v0.9.8","v0.9.9"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2017-17042.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}