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)

EPSS: 0.004 (61.7th percentile) — read the EPSS interpretation.

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.

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.