Breaking: Java4Shell (CVE-2026-114938) - Less Than 0.12% of JVMs Estimated at Risk of RCE
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2017-17042

rubygem-yard: (lib/yard/core_ext/file.rb) is vulnerable to directory traversal attacks

Overview

Published
28 Nov 2017
Modified
17 Jun 2026
High CVE
1 Registry packages
3 OS packages
3 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

7.5 · HIGH

CVSS 3.0 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Weakness: CWE-22

Affected packages · 1

Packages affected by CVE-2017-17042
EcosystemPackageVulnerableFixed in
RubyGems yard <0.9.11 0.9.11

Open a package to see all its vulnerabilities.

Operating systems · 7 fixes

debian 5 releases · 1 package

fixed 4 affected 1
yard
debian fixes for CVE-2017-17042
ReleasePackageFixed in
11 yard 0.9.12-1
12 yard 0.9.12-1
13 yard 0.9.12-1
14 yard 0.9.12-1
9 yard affected

echo 1 release · 1 package

fixed 1
yard
echo fixes for CVE-2017-17042
ReleasePackageFixed in
yard 0.9.12-1

openSUSE 1 release · 1 package

fixed 1
yast2-buildtools
openSUSE fixes for CVE-2017-17042
ReleasePackageFixed inAdvisory
Tumbleweed yast2-buildtools +1 4.4.1-1.2 openSUSE-SU-2024:11532-1

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.