Arbitrary file read vulnerability in yard server
`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.
01
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2017-17042US | high7.5 | — | ||
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 atta… | ||||
02
references
External citations — patches, advisories, analysis.
- https://github.com/advisories/GHSA-gj4p-3wh3-2rmfADVISORY
- https://github.com/lsegal/yardPACKAGE
- https://github.com/lsegal/yard/commit/b0217b3e30dc53d057b1682506333335975e62b4WEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/yard/CVE-2017-17042.ymlWEB
- https://nvd.nist.gov/vuln/detail/CVE-2017-17042ADVISORY
scry
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan