CVEfocus › CVE database › CVE-2017-17042

CVE-2017-17042

CVSS 7.5 HighEPSS 2.9% (higher than 87% of CVEs)Published 2017-11-28Updated 2024-09-16Assigner: mitre

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.

What to do

Fixed builds are available from Debian, RubyGems: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
2Fix pending

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 16.04yardFix pending0.8.7.6+git20160220-3ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2017-17042
Ubuntu 14.04yardFix pending
Debian 14yardFixed0.9.12-1DEBIAN-CVE-2017-17042
Debian 13yardFixed0.9.12-1DEBIAN-CVE-2017-17042
Debian 12yardFixed0.9.12-1DEBIAN-CVE-2017-17042
RubyGems libraryyardFixed0.9.11GHSA-gj4p-3wh3-2rmf

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.