Descriptionlib/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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitymedium (attack range: remote)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
yard (PTS)jessie0.8.7.4-1vulnerable
buster, bullseye, sid0.9.16-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs


[stretch] - yard <no-dsa> (Minor issue)
[jessie] - yard <no-dsa> (Minor issue)
[wheezy] - yard <no-dsa> (Minor issue)
Fixed by: (0.9.11)

Search for package or bug name: Reporting problems