CVE catalog

CVE-2017-17042

yard: CVE-2017-17042

[CVE catalog]

Severity
High · CVSS 7.5CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Published
Source
[NVD] · [CVE record]
EPSS
2.89% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianyardsid0.9.45-1fixed
Debianyardforky0.9.45-1fixed
Debianyardtrixie0.9.37-1fixed
Debianyardbookworm0.9.28-2+deb12u2fixed
Debianyardbookworm-security0.9.28-2+deb12u2fixed
Ubuntuyardpro0.9.9-1vulnerable
Ubuntuyardpro0.9.12-1vulnerable
Ubuntuyardpro0.9.12-1ubuntu3vulnerable
Ubuntuyardpro0.9.12-2vulnerable
Ubuntuyardpro0.9.12-2ubuntu0.1~esm1fixed
Ubuntuyard20.040.9.16-1vulnerable
Ubuntuyard20.040.9.20-1vulnerable
Ubuntuyard20.040.9.24-1vulnerable
Ubuntuyard20.040.9.24-1+deb11u1build0.20.04.1fixed
Ubuntuyard22.040.9.24-1vulnerable
Ubuntuyard22.040.9.26-1vulnerable
Ubuntuyard22.040.9.26-1ubuntu0.1fixed
Ubuntuyardpro0.8.7.6-1vulnerable
Ubuntuyardpro0.8.7.6+git20160220-3vulnerable
Ubuntuyardpro0.8.7.6+git20160220-3ubuntu0.1~esm1fixed
Suserubygem-yardlinux enterprise software development kit 12 sp30.8.7.3-7.3.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianyardsourcesid0.9.12-1not yet assignedNot reportedNot reported
Debianyardsourceforky0.9.12-1not yet assignedNot reportedNot reported
Debianyardsourcetrixie0.9.12-1not yet assignedNot reportedNot reported
Debianyardsourcebookworm0.9.12-1not yet assignedNot reportedNot reported
Ubuntuyarddebpro0.9.12-2ubuntu0.1~esm1Not reportedUSN-6731-1Not reported
Ubuntuyarddeb20.040.9.24-1+deb11u1build0.20.04.1Not reportedUSN-6731-1Not reported
Ubuntuyarddeb22.040.9.26-1ubuntu0.1Not reportedUSN-6731-1Not reported
Ubuntuyarddebpro0.8.7.6+git20160220-3ubuntu0.1~esm1Not reportedUBUNTU-CVE-2017-17042Not reported
Suserubygem-yardrpmlinux enterprise software development kit 12 sp30.8.7.3-7.3.1Not reportedSUSE-SU-2018:1890-1Not reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [yard]Fixed
    Details (4)
    • 0.9.28-2+deb12u2 · all · bookworm

      Fixed · Fixed: 0.9.12-1

      dsa · yard · debian · bookworm; dsa · yard · debian · 12

    • 0.9.28-2+deb12u2 · all · bookworm

      Fixed · Fixed: 0.9.12-1

      dsa · yard · debian · bookworm; dsa · yard · debian · 12

    • 0.9.28-2+deb12u2 · all · bookworm-security

      Fixed · Fixed: 0.9.12-1

      dsa · yard · debian · bookworm; dsa · yard · debian · 12

    • 0.9.28-2+deb12u2 · all · bookworm-security

      Fixed · Fixed: 0.9.12-1

      dsa · yard · debian · bookworm; dsa · yard · debian · 12

  • [yard-doc]Fixed

    Source package: [yard]

    Details (4)
    • 0.9.28-2+deb12u2 · all · bookworm

      Fixed · Fixed: 0.9.12-1

      dsa · yard · debian · bookworm; dsa · yard · debian · 12

    • 0.9.28-2+deb12u2 · all · bookworm

      Fixed · Fixed: 0.9.12-1

      dsa · yard · debian · bookworm; dsa · yard · debian · 12

    • 0.9.28-2+deb12u2 · all · bookworm-security

      Fixed · Fixed: 0.9.12-1

      dsa · yard · debian · bookworm; dsa · yard · debian · 12

    • 0.9.28-2+deb12u2 · all · bookworm-security

      Fixed · Fixed: 0.9.12-1

      dsa · yard · debian · bookworm; dsa · yard · debian · 12

[Debian 13 (Trixie)]

  • [yard]Fixed
    Details (2)
    • 0.9.37-1 · all · trixie

      Fixed · Fixed: 0.9.12-1

      dsa · yard · debian · 13

    • 0.9.37-1 · all · trixie

      Fixed · Fixed: 0.9.12-1

      dsa · yard · debian · 13

  • [yard-doc]Fixed

    Source package: [yard]

    Details (2)
    • 0.9.37-1 · all · trixie

      Fixed · Fixed: 0.9.12-1

      dsa · yard · debian · 13

    • 0.9.37-1 · all · trixie

      Fixed · Fixed: 0.9.12-1

      dsa · yard · debian · 13

Observed:

References