CVE-2017-17042
Arbitrary file read vulnerability in yard server
7.5
HIGH
CVSS 3.1
EPSS 2.9%
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.
How to fix CVE-2017-17042
To remediate CVE-2017-17042, upgrade the affected package to a fixed version below.
- Debian/yard—upgrade to 0.9.12-1 or later
- —upgrade to 0.9.11 or later
Is CVE-2017-17042 being exploited?
Low — EPSS is 2.9%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 0.9.12-1
- from 0, < 0.9.11
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| 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 |