rubygem-yard: (lib/yard/core_ext/file.rb) is vulnerable to directory traversal attacks
Published Nov 28, 2017
7.5
HIGHCVSS 3.0
EPSS 2.89%
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.
Affected products
No data.
No data.
Red Hat Enterprise MRG 2
rubygem-yard
Will not fix
Red Hat Subscription Asset Manager
rubygem-yard
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise MRG 2 | rubygem-yard | Will not fix | n/a |
| Red Hat Subscription Asset Manager | rubygem-yard | Will not fix | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue affects the versions of rubygem-yard as shipped with Red Hat Subscription Asset Manager 1.x and Message Routing and Grid 2.x. Red Hat Product Security has rated this issue as having Moderate security impact. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
AV:N/AC:L/Au:N/C:P/I:N/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v5
Table of values (16 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 2.89% (0.02894) | 86.43th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.89% (0.02894) | 85.05th | v5 (v2026.06.15) |
| Jul 20, 2024 | 0.15% (0.00153) | 52.04th | v3 (v2023.03.01) |
| Mar 15, 2024 | 0.15% (0.00155) | 50.73th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.14% (0.00144) | 48.98th | v3 (v2023.03.01) |
| Nov 8, 2023 | 0.17% (0.00172) | 54.17th | v3 (v2023.03.01) |
| May 8, 2023 | 0.24% (0.00244) | 60.84th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.17% (0.00165) | 51.30th | v3 (v2023.03.01) |
| Mar 6, 2023 | 0.89% (0.00885) | 27.89th | v2 (v2022.01.01) |
| Sep 10, 2022 | 0.89% (0.00885) | 26.24th | v2 (v2022.01.01) |
| Apr 1, 2022 | 0.89% (0.00885) | 24.24th | v2 (v2022.01.01) |
| Feb 4, 2022 | 0.89% (0.00885) | 10.50th | v2 (v2022.01.01) |
| Feb 3, 2022 | 0.42% (0.00416) | 10.04th | v1 |
| Jan 6, 2022 | 0.42% (0.00416) | 9.79th | v1 |
| Sep 1, 2021 | 0.42% (0.00416) | 25.53th | v1 |
| Apr 14, 2021 | 0.42% (0.00416) | 0.00th | v1 |
References (7)
- https://access.redhat.com/security/cve/CVE-2017-17042 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1519065 Issue Tracking
- https://github.com/advisories/GHSA-gj4p-3wh3-2rmf Advisory
- https://github.com/lsegal/yard/commit/b0217b3e30dc53d057b1682506333335975e62b4 x_refsource_CONFIRMPatch
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/yard/CVE-2017-17042.yml
- https://nvd.nist.gov/vuln/detail/CVE-2017-17042
- https://www.cve.org/CVERecord?id=CVE-2017-17042
Change history (0)
No recorded changes yet.