logo

CVE-2017-17042 yard

Package

Manager: gem
Name: yard
Vulnerable Version: >=0 <0.9.11

Severity

Level: High

CVSS v3.1: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

EPSS: 0.00379 pctl0.58635

Details

Arbitrary file read vulnerability in yard server `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.

Metadata

Created: 2017-12-21T00:47:25Z
Modified: 2023-07-05T17:53:08Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2017/12/GHSA-gj4p-3wh3-2rmf/GHSA-gj4p-3wh3-2rmf.json
CWE IDs: ["CWE-22"]
Alternative ID: GHSA-gj4p-3wh3-2rmf
Finding: F063
Auto approve: 1