CVE-2017-17042

NameCVE-2017-17042
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, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
yard (PTS)buster0.9.16-1fixed
buster (security)0.9.16-1+deb10u1fixed
bullseye0.9.24-1fixed
bullseye (security)0.9.24-1+deb11u1fixed
bookworm0.9.28-2fixed
bookworm (security)0.9.28-2+deb12u2fixed
trixie, sid0.9.36-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
yardsource(unstable)0.9.12-1

Notes

[stretch] - yard <no-dsa> (Minor issue)
[jessie] - yard <no-dsa> (Minor issue)
[wheezy] - yard <no-dsa> (Minor issue)
Fixed by: https://github.com/lsegal/yard/commit/b0217b3e30dc53d057b1682506333335975e62b4 (0.9.11)

Search for package or bug name: Reporting problems