{"id":"UBUNTU-CVE-2017-17042","details":"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.","modified":"2026-01-30T00:41:26.068368Z","published":"2017-11-28T20:29:00Z","related":["USN-6731-1"],"upstream":["CVE-2017-17042"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-17042"},{"type":"REPORT","url":"https://github.com/lsegal/yard/commit/b0217b3e30dc53d057b1682506333335975e62b4"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-17042"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6731-1"}],"affected":[{"package":{"name":"yard","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/yard@0.8.7.6+git20160220-3ubuntu0.1~esm1?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8.7.6+git20160220-3ubuntu0.1~esm1"}]}],"versions":["0.8.7.6-1","0.8.7.6+git20160220-3"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_version":"0.8.7.6+git20160220-3ubuntu0.1~esm1","binary_name":"yard"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-17042.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"Ubuntu","score":"medium"}]}