Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1519065 - (CVE-2017-17042) CVE-2017-17042 rubygem-yard: (lib/yard/core_ext/file.rb) is vulnerable to directory traversal attacks
CVE-2017-17042 rubygem-yard: (lib/yard/core_ext/file.rb) is vulnerable to dir...
Status: CLOSED WONTFIX
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20171124,repor...
: Security
Depends On: 1519068 1519596
Blocks: 1519074
  Show dependency treegraph
 
Reported: 2017-11-29 21:53 EST by Sam Fowler
Modified: 2018-02-12 04:52 EST (History)
19 users (show)

See Also:
Fixed In Version: rubygem-yard 0.9.12
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-11-30 20:24:21 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Sam Fowler 2017-11-29 21:53:50 EST
A component of the rubygem-yard library (lib/yard/core_ext/file.rb) that is used by the yard document generation server does not block relative paths with an initial ../ sequence, which allows attackers to conduct directory traversal attacks and read arbitrary files.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2017-17042
https://bugzilla.novell.com/show_bug.cgi?id=1070263
http://people.canonical.com/~ubuntu-security/cve/2017/CVE-2017-17042.html
http://www.cvedetails.com/cve/CVE-2017-17042/
https://github.com/lsegal/yard/commit/b0217b3e30dc53d057b1682506333335975e62b4
Comment 1 Sam Fowler 2017-11-29 22:01:17 EST
Created rubygem-yard tracking bugs for this issue:

Affects: fedora-all [bug 1519068]
Comment 2 Kurt Seifried 2017-11-30 20:21:35 EST
Created rubygem-yard tracking bugs for this issue:

Affects: openshift-1 [bug 1519596]
Comment 3 Kurt Seifried 2017-11-30 20:23:44 EST
Statement:

This issue affects the versions of rubygem-yard as shipped with Red Hat Subscription Asset Manager 1.x and Message Routing and Grid 2.x. Red Hat Product Security has rated this issue as having Moderate security impact. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.

Note You need to log in before you can comment on or make changes to this bug.