pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/ruby25-base



Module Name:    pkgsrc
Committed By:   taca
Date:           Tue Mar 12 04:22:34 UTC 2019

Modified Files:
        pkgsrc/lang/ruby25-base: Makefile distinfo

Log Message:
lang/ruby25-base: Add security patch for rubygems

Add security patch for rubygems, fixing these problem.

* CVE-2019-8320: Delete directory using symlink when decompressing tar
* CVE-2019-8321: Escape sequence injection vulnerability in verbose
* CVE-2019-8322: Escape sequence injection vulnerability in gem owner
* CVE-2019-8323: Escape sequence injection vulnerability in API response handlin
g
* CVE-2019-8324: Installing a malicious gem may lead to arbitrary code execution
* CVE-2019-8325: Escape sequence injection vulnerability in errors

https://www.ruby-lang.org/en/news/2019/03/05/multiple-vulnerabilities-in-rubygems/

Since original patch included in official announce dose not cleanly applied to
Ruby 2.5.3, use a local version which drop patch to none existing test.

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/lang/ruby25-base/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/lang/ruby25-base/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/ruby25-base/Makefile
diff -u pkgsrc/lang/ruby25-base/Makefile:1.7 pkgsrc/lang/ruby25-base/Makefile:1.8
--- pkgsrc/lang/ruby25-base/Makefile:1.7        Thu Feb 14 06:03:50 2019
+++ pkgsrc/lang/ruby25-base/Makefile    Tue Mar 12 04:22:34 2019
@@ -1,11 +1,15 @@
-# $NetBSD: Makefile,v 1.7 2019/02/14 06:03:50 taca Exp $
+# $NetBSD: Makefile,v 1.8 2019/03/12 04:22:34 taca Exp $
 
 DISTNAME=      ${RUBY_DISTNAME}
 PKGNAME=       ${RUBY_PKGPREFIX}-base-${RUBY_VERSION}
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    lang ruby
 MASTER_SITES=  ${MASTER_SITE_RUBY}
 
+# announced patch is failed to apply, so use local version.
+PATCHFILES=    ruby-2.5.3-rubygems.patch-20190311
+PATCH_SITES=   ${MASTER_SITE_LOCAL}
+
 MAINTAINER=    taca%NetBSD.org@localhost
 HOMEPAGE=      ${RUBY_HOMEPAGE}
 COMMENT=       Ruby ${RUBY_VERSION} release minimum base package

Index: pkgsrc/lang/ruby25-base/distinfo
diff -u pkgsrc/lang/ruby25-base/distinfo:1.8 pkgsrc/lang/ruby25-base/distinfo:1.9
--- pkgsrc/lang/ruby25-base/distinfo:1.8        Thu Jan  3 05:19:03 2019
+++ pkgsrc/lang/ruby25-base/distinfo    Tue Mar 12 04:22:34 2019
@@ -1,5 +1,9 @@
-$NetBSD: distinfo,v 1.8 2019/01/03 05:19:03 taca Exp $
+$NetBSD: distinfo,v 1.9 2019/03/12 04:22:34 taca Exp $
 
+SHA1 (ruby-2.5.3-rubygems.patch-20190311) = 73db190d5ff6922084fbbf33efac1a25090d22dc
+RMD160 (ruby-2.5.3-rubygems.patch-20190311) = 25a070342fd16a653e2f0f0a7e5b125b508b7ff3
+SHA512 (ruby-2.5.3-rubygems.patch-20190311) = e1ac7fa9c51308d55612bfbb1bb9a01e4ec5602060667f1341654d58f8c40cb8b60332d1466cf9570c2dd59cdf3142ea18c3bcf4c4803cda2ea5326be8a80b98
+Size (ruby-2.5.3-rubygems.patch-20190311) = 12237 bytes
 SHA1 (ruby-2.5.3.tar.xz) = 5acbdea1ced1e36684268e1cb6f8a4e7669bce77
 RMD160 (ruby-2.5.3.tar.xz) = 3a95c15c33ef09c52d6baf427fd8fd82ecf388b5
 SHA512 (ruby-2.5.3.tar.xz) = 6dcae0e8d0bacdb2cbde636e2030596308b5af53f2eb85d3adccb67b02e6f8f9751e8117d12f8484829fdd9d995f6e327f701d9b433bcf94f1f59d13a1fd7518



Home | Main Index | Thread Index | Old Index