p PatchFirst

CVE-2017-17042

CVE-2017-17042

CVSS 7.5 · High · EPSS 2.9% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

  • yard Debian 12Update to 0.9.12-1
  • yard Debian 13Update to 0.9.12-1
  • yard Debian 14Update to 0.9.12-1
  • yard RubyGemsUpdate to 0.9.11
  • and 1 more

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="yard"'
gem list --exact yard

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Fixes in distributions

  • USN-6731-1 · Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu Pro 16.04 LTS, Ubuntu Pro 18.04 LTS ·
  • SUSE-SU-2018:1890-1 · SUSE Linux Enterprise Software Development Kit 12 SP3 ·

Stack: system · ruby

Affected products and versions

  • n/a

    Versions
    • n/a: Affected

    No fix published

  • yard Debian 12

    Affected ranges
    • ECOSYSTEM: < 0.9.12-1

    Update to 0.9.12-1

  • yard Debian 13

    Affected ranges
    • ECOSYSTEM: < 0.9.12-1

    Update to 0.9.12-1

  • yard Debian 14

    Affected ranges
    • ECOSYSTEM: < 0.9.12-1

    Update to 0.9.12-1

  • yard RubyGems

    Versions
    • 0.2.0
    • 0.2.1
    • 0.2.2
    • 0.2.3
    • 0.2.3.2
    • 0.2.3.3
    All versions (65)
    • 0.2.3.4
    • 0.2.3.5
    • 0.4.0
    • 0.5.0
    • 0.5.1
    • 0.5.1p1
    • 0.5.2
    • 0.5.3
    • 0.5.4
    • 0.5.5
    • 0.5.6
    • 0.5.7
    • 0.5.8
    • 0.6.0
    • 0.6.1
    • 0.6.2
    • 0.6.3
    • 0.6.4
    • 0.6.5
    • 0.6.6
    • 0.6.7
    • 0.6.8
    • 0.7.0
    • 0.7.1
    • 0.7.2
    • 0.7.3
    • 0.7.4
    • 0.7.5
    • 0.8.0
    • 0.8.1
    • 0.8.2
    • 0.8.2.1
    • 0.8.3
    • 0.8.4
    • 0.8.4.1
    • 0.8.5
    • 0.8.5.1
    • 0.8.5.2
    • 0.8.6
    • 0.8.6.1
    • 0.8.6.2
    • 0.8.7
    • 0.8.7.1
    • 0.8.7.2
    • 0.8.7.3
    • 0.8.7.4
    • 0.8.7.5
    • 0.8.7.6
    • 0.9.0
    • 0.9.1
    • 0.9.10
    • 0.9.2
    • 0.9.3
    • 0.9.4
    • 0.9.5
    • 0.9.6
    • 0.9.7
    • 0.9.8
    • 0.9.9
    Affected ranges
    • ECOSYSTEM: < 0.9.11

    Update to 0.9.11

  • yard Ubuntu Pro 16.04 LTS

    Versions
    • 0.8.7.6-1
    • 0.8.7.6+git20160220-3
    Affected ranges
    • ECOSYSTEM: < 0.8.7.6+git20160220-3ubuntu0.1~esm1

    Update to 0.8.7.6+git20160220-3ubuntu0.1~esm1

Original sources

Check your server →