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.
{ "nvd_published_at": null, "cwe_ids": [ "CWE-22" ], "severity": "HIGH", "github_reviewed": true, "github_reviewed_at": "2020-06-16T21:37:31Z" }