HIGH 7.5 RubyGems
Arbitrary file read vulnerability in yard server
GHSA-gj4p-3wh3-2rmf · CVE-2017-17042
Published · Modified
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.
References
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2017-17042
- WEB https://github.com/lsegal/yard/commit/b0217b3e30dc53d057b1682506333335975e62b4
- ADVISORY https://github.com/advisories/GHSA-gj4p-3wh3-2rmf
- PACKAGE https://github.com/lsegal/yard
- WEB https://github.com/rubysec/ruby-advisory-db/blob/master/gems/yard/CVE-2017-17042.yml
Ready to move
Start Securing
Free, no credit card | First findings in minutes