Path traversal in YARD - CVE-2019-1020001

 

Path traversal in YARD - CVE-2019-1020001

Published: June 28, 2019 / Updated: April 20, 2026


Vulnerability identifier: #VU126591
CSH Severity: Medium
CVSS v4: 8.7 [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]
CVE-ID: CVE-2019-1020001
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to disclose sensitive information.

The vulnerability exists due to path traversal in yard server when handling unsanitized HTTP requests. A remote attacker can send a specially crafted request to disclose sensitive information.

Exploitation is possible when YARD is used to serve documentation in untrusted environments.


Affected software

YARD
openEuler
rubygem-yard
rubygem-yard-doc

How to mitigate CVE-2019-1020001

Install security update from vendor's website.

YARD - update to 0.9.20
rubygem-yard - update to 0.9.26-1
rubygem-yard-doc - update to 0.9.26-1

External References

Related Security Bulletins