ADVISORIES

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

EcosystemPackageAffected versions
RubyGemsyard
All versions before 0.9.11 (fixed in 0.9.11)

References