CVE-2017-17042 Arbitrary file read vulnerability in yard server
HighCVSS 7.5
EPSS 2.9%
PoC
- Published
- Updated
- Exploit status
- Proof-of-concept only
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| rubygems yard(RubyGems) | < 0.9.11 | 0.9.11 |
| rubygems yard(RubyGems) | = 0.2.0 | No fix listed |
| rubygems yard(RubyGems) | = 0.2.1 | No fix listed |
| rubygems yard(RubyGems) | = 0.2.2 | No fix listed |
| rubygems yard(RubyGems) | = 0.2.3 | No fix listed |
| rubygems yard(RubyGems) | = 0.2.3.2 | No fix listed |
| rubygems yard(RubyGems) | = 0.2.3.3 | No fix listed |
| rubygems yard(RubyGems) | = 0.2.3.4 | No fix listed |
| rubygems yard(RubyGems) | = 0.2.3.5 | No fix listed |
| rubygems yard(RubyGems) | = 0.4.0 | No fix listed |
| rubygems yard(RubyGems) | = 0.5.0 | No fix listed |
| rubygems yard(RubyGems) | = 0.5.1 | No fix listed |
| rubygems yard(RubyGems) | = 0.5.1p1 | No fix listed |
| rubygems yard(RubyGems) | = 0.5.2 | No fix listed |
| rubygems yard(RubyGems) | = 0.5.3 | No fix listed |
| rubygems yard(RubyGems) | = 0.5.4 | No fix listed |
| rubygems yard(RubyGems) | = 0.5.5 | No fix listed |
| rubygems yard(RubyGems) | = 0.5.6 | No fix listed |
| rubygems yard(RubyGems) | = 0.5.7 | No fix listed |
| rubygems yard(RubyGems) | = 0.5.8 | No fix listed |
| rubygems yard(RubyGems) | = 0.6.0 | No fix listed |
| rubygems yard(RubyGems) | = 0.6.1 | No fix listed |
| rubygems yard(RubyGems) | = 0.6.2 | No fix listed |
| rubygems yard(RubyGems) | = 0.6.3 | No fix listed |
| rubygems yard(RubyGems) | = 0.6.4 | No fix listed |
Show 45 more
| Product | Affected versions | Fixed in |
|---|---|---|
| rubygems yard(RubyGems) | = 0.6.5 | No fix listed |
| rubygems yard(RubyGems) | = 0.6.6 | No fix listed |
| rubygems yard(RubyGems) | = 0.6.7 | No fix listed |
| rubygems yard(RubyGems) | = 0.6.8 | No fix listed |
| rubygems yard(RubyGems) | = 0.7.0 | No fix listed |
| rubygems yard(RubyGems) | = 0.7.1 | No fix listed |
| rubygems yard(RubyGems) | = 0.7.2 | No fix listed |
| rubygems yard(RubyGems) | = 0.7.3 | No fix listed |
| rubygems yard(RubyGems) | = 0.7.4 | No fix listed |
| rubygems yard(RubyGems) | = 0.7.5 | No fix listed |
| rubygems yard(RubyGems) | = 0.8.0 | No fix listed |
| rubygems yard(RubyGems) | = 0.8.1 | No fix listed |
| rubygems yard(RubyGems) | = 0.8.2 | No fix listed |
| rubygems yard(RubyGems) | = 0.8.2.1 | No fix listed |
| rubygems yard(RubyGems) | = 0.8.3 | No fix listed |
| rubygems yard(RubyGems) | = 0.8.4 | No fix listed |
| rubygems yard(RubyGems) | = 0.8.4.1 | No fix listed |
| rubygems yard(RubyGems) | = 0.8.5 | No fix listed |
| rubygems yard(RubyGems) | = 0.8.5.1 | No fix listed |
| rubygems yard(RubyGems) | = 0.8.5.2 | No fix listed |
| rubygems yard(RubyGems) | = 0.8.6 | No fix listed |
| rubygems yard(RubyGems) | = 0.8.6.1 | No fix listed |
| rubygems yard(RubyGems) | = 0.8.6.2 | No fix listed |
| rubygems yard(RubyGems) | = 0.8.7 | No fix listed |
| rubygems yard(RubyGems) | = 0.8.7.1 | No fix listed |
| rubygems yard(RubyGems) | = 0.8.7.2 | No fix listed |
| rubygems yard(RubyGems) | = 0.8.7.3 | No fix listed |
| rubygems yard(RubyGems) | = 0.8.7.4 | No fix listed |
| rubygems yard(RubyGems) | = 0.8.7.5 | No fix listed |
| rubygems yard(RubyGems) | = 0.8.7.6 | No fix listed |
| rubygems yard(RubyGems) | = 0.9.0 | No fix listed |
| rubygems yard(RubyGems) | = 0.9.1 | No fix listed |
| rubygems yard(RubyGems) | = 0.9.10 | No fix listed |
| rubygems yard(RubyGems) | = 0.9.2 | No fix listed |
| rubygems yard(RubyGems) | = 0.9.3 | No fix listed |
| rubygems yard(RubyGems) | = 0.9.4 | No fix listed |
| rubygems yard(RubyGems) | = 0.9.5 | No fix listed |
| rubygems yard(RubyGems) | = 0.9.6 | No fix listed |
| rubygems yard(RubyGems) | = 0.9.7 | No fix listed |
| rubygems yard(RubyGems) | = 0.9.8 | No fix listed |
| rubygems yard(RubyGems) | = 0.9.9 | No fix listed |
| debian/yard(Debian:12) | < 0.9.12-1 | 0.9.12-1 |
| debian/yard(Debian:13) | < 0.9.12-1 | 0.9.12-1 |
| debian/yard(Debian:14) | < 0.9.12-1 | 0.9.12-1 |
| yardoc yard | < 0.9.11 | 0.9.11 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com vendor-advisory
- github.com exploit
- github.com product
- Debian Security Tracker CVE-2017-17042 vendor-advisory