CVE-2017-17042
HIGH7.5EPSS 0.41%Arbitrary file read vulnerability in yard server
發布日:2017/12/21修改日:2026/4/28
描述
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.
受影響套件(2)
- Debian/yardfrom 0, < 0.9.12-1
- RubyGems/yardfrom 0, < 0.9.11
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
參考連結(6)
- ADVISORYhttps://github.com/advisories/GHSA-gj4p-3wh3-2rmf
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2017-17042
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2017-17042
- PATCHhttps://github.com/lsegal/yard
- WEBhttps://github.com/lsegal/yard/commit/b0217b3e30dc53d057b1682506333335975e62b4
- WEBhttps://github.com/rubysec/ruby-advisory-db/blob/master/gems/yard/CVE-2017-17042.yml