CVE-2017-17042

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.

Risk Information

Base Score
7.5
MODERATE
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS Score
Exploitation Probability
0.313

Associated Vulnerability

VulnerabilityOS Platform
Vulnerabilities CVE-2017-17042 are fixed in Ruby-yard 0.9.11Windows
Ruby documentation tool (USN-6731-1) yard_0.9.24-1+deb11u1build0.20.04.1_all.debLinux
Ruby documentation tool (USN-6731-1) yard_0.9.26-1ubuntu0.1_all.debLinux
Ruby documentation tool (USN-6731-1) yard_0.9.28-2ubuntu0.1_all.debLinux
Vulnerabilities CVE-2017-17042 are fixed in Ruby-yard for Linux 0.9.11Linux

Patch Details

No records found

References

https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234