{"cve":"CVE-2017-17042","nvd":{"published":"2017-11-28T20:29:00.337","modified":"2026-06-17T01:10:15.667","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5},"cwes":["CWE-22"],"references":["https://github.com/lsegal/yard/commit/b0217b3e30dc53d057b1682506333335975e62b4","https://github.com/lsegal/yard/commit/b0217b3e30dc53d057b1682506333335975e62b4"],"products":["yardoc:yard"],"source":"nvd","synced_at":"2026-10-19T20:47:01.408438353+00:00"},"epss":{"cve":"CVE-2017-17042","score":0.02894,"percentile":0.8692,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-gj4p-3wh3-2rmf","url":"https://osv.dev/vulnerability/GHSA-gj4p-3wh3-2rmf","summary":"Arbitrary file read vulnerability in yard server","modified":"2024-02-16T08:20:04.010887Z","packages":[{"ecosystem":"RubyGems","name":"yard","purl":"pkg:gem/yard","ranges":["<0.9.11"],"fixed":["0.9.11"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}