CVE-2017-17042

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

Published Nov 28, 2017 CVSS 3.0 · 7.5 High EPSS 2.9% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2017-0362 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.
Github GHSA Github GHSA GHSA-gj4p-3wh3-2rmf Arbitrary file read vulnerability in yard server
Ubuntu USN Ubuntu USN USN-6731-1 YARD vulnerabilities
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Sep 16, 2024, 5:18 PM
Reserved
Nov 28, 2017, 12:00 AM
Status
Modified
Published
Nov 28, 2017, 8:29 PM
Modified
Jun 17, 2026, 1:10 AM
Severity
Moderate
Public date
Nov 24, 2017, 12:00 AM