Directory Traversal Affecting yard package, versions <0.9.20


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

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 Learn

Learn about Directory Traversal vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUBY-YARD-455636
  • published29 Jul 2019
  • disclosed29 Jul 2019
  • creditUnknown

Introduced: 29 Jul 2019

CVE-2019-1020001  (opens in a new tab)
CWE-23  (opens in a new tab)

How 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