Directory Traversal Affecting rubygem-yard package, versions *


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
2.89% (87th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL10-RUBYGEMYARD-9887685
  • published28 Apr 2025
  • disclosed24 Nov 2017

Introduced: 24 Nov 2017

CVE-2017-17042  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:10 rubygem-yard.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rubygem-yard package and not the rubygem-yard package as distributed by RHEL. See How to fix? for RHEL:10 relevant fixed versions and status.

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.