Directory Traversal Affecting yard package, versions <0.9.20
Threat Intelligence
EPSS
0.26% (66th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-RUBY-YARD-455636
- published 29 Jul 2019
- disclosed 29 Jul 2019
- credit Unknown
Introduced: 29 Jul 2019
CVE-2019-1020001 Open this link in a new tabHow to fix?
Upgrade yard
to version 0.9.20 or higher.
Overview
yard is a documentation generation tool for the Ruby programming language.
Affected versions of this package are vulnerable to Directory Traversal. When using yard server to serve documentation the package would allow unsanitized HTTP requests to access arbitrary files on the machine of a yard server host under certain conditions.
For users who cannot upgrade, it is possible to perform path sanitization of HTTP requests at your webserver level.
References
CVSS Scores
version 3.1