Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 639708 (CVE-2017-17042) - <dev-ruby/yard-0.9.11: Directory traversal vulnerability
Summary: <dev-ruby/yard-0.9.11: Directory traversal vulnerability
Status: RESOLVED FIXED
Alias: CVE-2017-17042
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor
Assignee: Gentoo Security
URL:
Whiteboard: B4 [noglsa cve]
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-04 02:04 UTC by GLSAMaker/CVETool Bot
Modified: 2018-07-16 06:54 UTC (History)
1 user (show)

See Also:
Package list:
dev-ruby/yard-0.9.11
Runtime testing required: ---
stable-bot: sanity-check+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description GLSAMaker/CVETool Bot gentoo-dev 2017-12-04 02:04:54 UTC
CVE-2017-17042 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2017-17042):
  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.
Comment 1 Christopher Díaz Riveros (RETIRED) gentoo-dev Security 2017-12-04 02:05:29 UTC
@Maintainers please call for stabilization when ready.

Thank you
Comment 2 Agostino Sarubbo gentoo-dev 2017-12-04 14:42:02 UTC
amd64 stable
Comment 3 Sergei Trofimovich (RETIRED) gentoo-dev 2017-12-06 22:51:52 UTC
sparc stable (thanks to Rolf Eike Beer)
Comment 4 Sergei Trofimovich (RETIRED) gentoo-dev 2017-12-10 23:01:12 UTC
ppc/ppc64 stable
Comment 5 Sergei Trofimovich (RETIRED) gentoo-dev 2017-12-11 20:55:53 UTC
ia64 stable
Comment 6 Markus Meier gentoo-dev 2017-12-13 21:07:08 UTC
arm stable
Comment 7 Tobias Klausmann (RETIRED) gentoo-dev 2018-01-20 16:52:22 UTC
Stable on alpha.
Comment 8 Thomas Deutschmann (RETIRED) gentoo-dev 2018-01-21 20:33:45 UTC
x86 stable
Comment 9 Thomas Deutschmann (RETIRED) gentoo-dev 2018-01-21 20:42:54 UTC
@ Maintainer(s): Please cleanup and drop <dev-ruby/yard-0.9.11!
Comment 10 Hans de Graaff gentoo-dev Security 2018-01-22 06:33:15 UTC
Cleanup done.
Comment 11 Aaron Bauman (RETIRED) gentoo-dev 2018-01-25 01:37:57 UTC
(In reply to Hans de Graaff from comment #10)
> Cleanup done.

Thanks, Hans!

GLSA Vote: No
Comment 12 Larry the Git Cow gentoo-dev 2018-07-16 06:54:39 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00f500d2a19a0968de9dd0264fa7094aa99fa4ef

commit 00f500d2a19a0968de9dd0264fa7094aa99fa4ef
Author:     Rolf Eike Beer <eike@sf-mail.de>
AuthorDate: 2018-07-16 06:28:10 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2018-07-16 06:54:06 +0000

    dev-ruby/yard: stable 0.9.11 for hppa
    
    Bug: https://bugs.gentoo.org/639708
    Package-Manager: Portage-2.3.40, Repoman-2.3.9
    RepoMan-Options: --include-arches="hppa"

 dev-ruby/yard/yard-0.9.11.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)