CVE-2017-17042

high
Published 2017-11-28 ยท Modified 2024-02-16
CVSS v3
7.5
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
7.5

Description

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.

Predictions

Exploit likelihood
83%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

OS impact

OSVersionStatusFixed in
suse slesaffected
debian debianbookwormfixed0.9.12-1
debian debianbullseyefixed0.9.12-1
debian debianforkyfixed0.9.12-1
debian debiansidfixed0.9.12-1
debian debiantrixiefixed0.9.12-1

Package impact

EcosystemPackageVulnerableFixed
ruby RubyGemsyard<>= 0.9.11>= 0.9.11
ruby RubyGemsyard<0.9.110.9.11

Application impact

VendorProductVersionsFixed
yardocyard{"endExcluding":"0.9.11"}0.9.11

References

CWEs

CWE-22

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.