Arbitrary file read vulnerability in yard server
High severity
GitHub Reviewed
Published
Dec 21, 2017
to the GitHub Advisory Database
•
Updated Jul 5, 2023
Description
Published to the GitHub Advisory Database
Dec 21, 2017
Reviewed
Jun 16, 2020
Last updated
Jul 5, 2023
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