Path Traversal in Yardoc Yard

CVE-2017-17042

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.

Vulnerability class: Path Traversal (Directory Traversal)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.

EPSS exploit prediction

EPSS: 0.029 (86.4th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 86th percentile — 86.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2017-17042: held from 0.029 to 0.029.

EPSS over last 30 days · oldest: 0.029 · newest: 0.029 · change: 0.000

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2017-17042?
CVE-2017-17042 is a high-severity vulnerability in Yardoc Yard, classified under Path Traversal. CVSS score: 7.5/10. Published 2017-11-28.
How severe is CVE-2017-17042?
High severity. CVSS v3 base score is 7.5 out of 10.
Is CVE-2017-17042 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.