CVE-2017-17042
HIGHYARD < 0.9.11 - Path Traversal via Relative Path Handling
Title source: llmDescription
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.
References (1)
Core 1
Core References
Patch x_refsource_confirm
https://github.com/lsegal/yard/commit/b0217b3e30dc53d057b1682506333335975e62b4
Scores
CVSS v3
7.5
EPSS
0.0289
EPSS Percentile
85.2%
Attack Vector
NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Details
CWE
CWE-22
Status
published
Products (2)
rubygems/yard
0 - 0.9.11RubyGems
yardoc/yard
< 0.9.11
Published
Nov 28, 2017
Tracked Since
Feb 18, 2026