What’s Vulnerable › Vulnerabilities

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.

Affected products

How to fix

Upgrade to a fixed version: lsegal yard 0.9.11. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2017-17042 or the next vulnerability affects your stack