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
Configurations
History
21 Nov 2024, 03:17
Type | Values Removed | Values Added |
---|---|---|
References | () https://github.com/lsegal/yard/commit/b0217b3e30dc53d057b1682506333335975e62b4 - Patch |
Information
Published : 2017-11-28 20:29
Updated : 2024-11-21 03:17
NVD link : CVE-2017-17042
Mitre link : CVE-2017-17042
CVE.ORG link : CVE-2017-17042
JSON object : View
Products Affected
yardoc
- yard
CWE
CWE-22
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')