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
Link | Resource |
---|---|
https://github.com/lsegal/yard/commit/b0217b3e30dc53d057b1682506333335975e62b4 | Patch |
History
No history.
MITRE Information
Status: PUBLISHED
Assigner: mitre
Published: 2022-10-03T16:23:20
Updated: 2022-10-03T16:23:20
Reserved: 2022-10-03T00:00:00
Link: CVE-2017-17042
JSON object: View
NVD Information
Status : Analyzed
Published: 2017-11-28T20:29:00.337
Modified: 2017-12-20T20:58:34.787
Link: CVE-2017-17042
JSON object: View
Redhat Information
No data.
CWE