GitHub Advisory Database
GHSA-gj4p-3wh3-2rmf
Arbitrary file read vulnerability in yard server
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| RubyGems | yard | All versions before 0.9.11 (fixed in 0.9.11) |