7.5
CWE
22
Advisory Published
CVE Published
Updated

CVE-2017-17042: Path Traversal

First published: Tue Nov 28 2017(Updated: )

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.

Credit: cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Yardoc Yard<0.9.11
debian/yard
0.9.16-1
0.9.16-1+deb10u1
0.9.24-1
0.9.24-1+deb11u1
0.9.28-2
0.9.28-2+deb12u2
0.9.36-1
ubuntu/yard<0.9.12-1
0.9.12-1
ubuntu/yard<0.8.7.6+
0.8.7.6+

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is the severity of CVE-2017-17042?

    CVE-2017-17042 has been classified with a moderate severity due to its ability to allow directory traversal attacks.

  • How do I fix CVE-2017-17042?

    To fix CVE-2017-17042, upgrade YARD to version 0.9.11 or later.

  • What systems are affected by CVE-2017-17042?

    CVE-2017-17042 affects YARD versions prior to 0.9.11.

  • What type of attack does CVE-2017-17042 enable?

    CVE-2017-17042 enables directory traversal attacks that can allow unauthorized file access.

  • Is CVE-2017-17042 fixed in the latest version of YARD?

    Yes, CVE-2017-17042 is resolved in YARD versions 0.9.11 and later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203