Name | CVE-2017-17042 |
Description | 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. |
Source | CVE (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 Package | Release | Version | Status |
---|
yard (PTS) | bullseye (security), bullseye | 0.9.24-1+deb11u1 | fixed |
| bookworm, bookworm (security) | 0.9.28-2+deb12u2 | fixed |
| sid, trixie | 0.9.36-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
yard | source | (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)