{"id":"CVE-2019-1020001","aliases":["CVE-2019-1020001","GHSA-xfhh-rx56-rxcr"],"related":[],"kind":"vulnerability","state":"published","title":"Path Traversal vulnerability that affects yard","summary":"yard before 0.9.20 allows path traversal.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"yard before 0.9.20 allows path traversal.","source":"cvelist"},{"lang":"en","text":"## Possible arbitrary path traversal and file access via `yard server`\n\n### Impact\n\nA path traversal vulnerability was discovered in YARD <= 0.9.19 when using `yard server` to serve documentation. This bug would allow unsanitized HTTP requests to access arbitrary files on the machine of a yard server host under certain conditions.\n\nThanks to CuongMX from Viettel Cyber Security for discovering this vulnerability.\n\n### Patches\n\nPlease upgrade to YARD v0.9.20 immediately if you are relying on yard server to host documentation in any untrusted environments.\n\n### Workarounds\n\nFor users who cannot upgrade, it is possible to perform path sanitization of HTTP requests at your webserver level. WEBrick, for example, can perform such sanitization by default (which you can use via `yard server -s webrick`), as can certain rules in your webserver configuration.","format":"markdown","source":"ghsa"},{"lang":"es","text":"yard anterior a versión 0.9.20, permite un Salto de Ruta (path).","source":"nvd"}],"published":"2019-07-02T15:28:38.000Z","modified":"2026-09-10T03:48:25.196Z","severity":{"scorer":"NVD","scheme":"CVSS: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,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS: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,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS: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,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","score":5,"rating":"MEDIUM"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":"< 0.9.20","status":"affected"}],"vendor":"yard","product":"yard","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.9.20"}],"ecosystem":"RubyGems","package":"yard","purl":"pkg:gem/yard","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"0.9.20"}],"vendor":"yardoc","product":"yard","cpe":"cpe:2.3:a:yardoc:yard:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/lsegal/yard/security/advisories/GHSA-xfhh-rx56-rxcr","tags":["mitigation","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/03/msg00006.html","tags":["mailing-list","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-1020001","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-xfhh-rx56-rxcr","tags":["advisory"],"sources":["ghsa"]}],"credits":[],"assigner":"dwf","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2019-1020001","url":"https://www.cve.org/CVERecord?id=CVE-2019-1020001","licence":"CVE Terms of Use","modified":"2024-08-05T03:14:15.223Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-xfhh-rx56-rxcr","url":"https://github.com/advisories/GHSA-xfhh-rx56-rxcr","licence":"CC-BY-4.0","modified":"2026-09-10T03:48:25.196Z"},{"source":"nvd","name":"NVD","id":"CVE-2019-1020001","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-1020001","licence":"Public domain","modified":"2026-06-17T02:09:59.263Z"}],"updatedAt":"2026-11-25T22:57:46.251Z","epss":{"score":0.02334,"percentile":0.84036,"date":"2026-12-01T12:00:22.000Z"}}