CVE-2017-17042
publishedrubygem-yard: (lib/yard/core_ext/file.rb) is vulnerable to directory traversal attacks
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| SUSE / openSUSE | SLE-12-SP3 | ruby2.1-rubygem-yardaarch64 | Advisory build | 0.8.7.3-7.3.1 | SUSE-SU-2018:1890-1 |
| Ubuntu | xenial | yard | Advisory build | 0.8.7.6+git20160220-3ubuntu0.1~esm1 | USN-6731-1 |
| SUSE / openSUSE | SLE-12-SP3 | ruby2.1-rubygem-yardppc64le | Advisory build | 0.8.7.3-7.3.1 | SUSE-SU-2018:1890-1 |
| SUSE / openSUSE | SLE-12-SP3 | ruby2.1-rubygem-yards390x | Advisory build | 0.8.7.3-7.3.1 | SUSE-SU-2018:1890-1 |
| SUSE / openSUSE | SLE-12-SP3 | ruby2.1-rubygem-yardx86_64 | Advisory build | 0.8.7.3-7.3.1 | SUSE-SU-2018:1890-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | yast2-buildtoolsaarch64 | Advisory build | 4.4.1-1.2 | OPENSUSE-SU-2024:11532-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | yast2-buildtoolsppc64le | Advisory build | 4.4.1-1.2 | OPENSUSE-SU-2024:11532-1 |
Show 6 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | yast2-buildtoolss390x | Advisory build | 4.4.1-1.2 | OPENSUSE-SU-2024:11532-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | yast2-buildtoolsx86_64 | Advisory build | 4.4.1-1.2 | OPENSUSE-SU-2024:11532-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | yast2-devtoolsaarch64 | Advisory build | 4.4.1-1.2 | OPENSUSE-SU-2024:11532-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | yast2-devtoolsppc64le | Advisory build | 4.4.1-1.2 | OPENSUSE-SU-2024:11532-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | yast2-devtoolss390x | Advisory build | 4.4.1-1.2 | OPENSUSE-SU-2024:11532-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | yast2-devtoolsx86_64 | Advisory build | 4.4.1-1.2 | OPENSUSE-SU-2024:11532-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
1Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- ac55b78352a808c29ed8d947fadd7d3128622b6fca13e8544dea8f37f9e03a1a
- Ingested
- 23 Sep 2026, 07:42:17 UTC
- Source record
- Official CVE record