Read the docs
TI-2017-12509 Aliases CVE-2017-17042GHSA-gj4p-3wh3-2rmf

lib/yard/core_ext/file.rb in the server in YARD before 0.9.11 does not block relative…

Priority LOW 38CWE-22Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Information disclosure
Confidentiality · integrity · availability
High · None · None
Fix status
Partial Red Hat: 2 without a fix

Attack profile from CVSS 3.0 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-22 and the CVSS impact.

Summary

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.

Why it matters now

EPSS 0.02894 87th percentileScored 2026-11-07
Fix Partial yard (RubyGems): 0.9.11Red Hat: 2 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—yard (RubyGems)before 0.9.110.9.11Patch availableGHSA-gj4p-3wh3-2rmf
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • yard (RubyGems) Vendor— Affected before 0.9.11 Fixed in 0.9.11 Patch available GHSA-gj4p-3wh3-2rmf

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:yardoc:yard:*:*:*:*:*:*:*:*before 0.9.11VulnerableYardoc
  • cpe:2.3:a:yardoc:yard:*:*:*:*:*:*:*:* Versions before 0.9.11 Vulnerable ·Yardoc

Remediation

  • Fix · GHSA-gj4p-3wh3-2rmf yard (RubyGems) Fixed in 0.9.11 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise MRG 2AffectedNo fix planned: Will not fix
Red Hat Subscription Asset ManagerAffectedNo fix planned: Will not fix

Timeline

  1. 2026-10-02 Threatist record created from CVE-2017-17042
  2. 2026-10-03 Alias added: GHSA-gj4p-3wh3-2rmf

References

  • TI-2024-18124 YARD's default template vulnerable to Cross-site Scripting in generated frames.html CVSS 3.1MEDIUM 6.1
  • TI-2026-30080 yard: Possible arbitrary path traversal and file access via yard server CVSS 4.0MEDIUM 6.9
  • TI-2019-16079 yard before 0.9.20 allows path traversal. CVSS 3.0HIGH 7.5

Sources