Return-Path: X-Original-To: apmail-commons-dev-archive@www.apache.org Delivered-To: apmail-commons-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E85BF1887E for ; Thu, 12 Nov 2015 18:15:29 +0000 (UTC) Received: (qmail 23236 invoked by uid 500); 12 Nov 2015 18:15:29 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 23096 invoked by uid 500); 12 Nov 2015 18:15:29 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 23083 invoked by uid 99); 12 Nov 2015 18:15:29 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Nov 2015 18:15:29 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 95C82C0481 for ; Thu, 12 Nov 2015 18:15:28 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.004 X-Spam-Level: X-Spam-Status: No, score=-0.004 tagged_above=-999 required=6.31 tests=[HEADER_FROM_DIFFERENT_DOMAINS=0.008, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id nH4kF2OhE12Q for ; Thu, 12 Nov 2015 18:15:21 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id DD6A3259A8 for ; Thu, 12 Nov 2015 18:15:18 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZwwOm-0004pg-Kl for dev@commons.apache.org; Thu, 12 Nov 2015 19:15:04 +0100 Received: from hsi-kbw-078-043-015-110.hsi4.kabel-badenwuerttemberg.de ([78.43.15.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 12 Nov 2015 19:15:04 +0100 Received: from joerg.schaible by hsi-kbw-078-043-015-110.hsi4.kabel-badenwuerttemberg.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 12 Nov 2015 19:15:04 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: dev@commons.apache.org From: =?UTF-8?B?SsO2cmc=?= Schaible Subject: Re: [VOTE] Release Commons Collections 3.2.2 Based on RC2 Date: Thu, 12 Nov 2015 19:14:49 +0100 Lines: 164 Message-ID: References: <56436C65.7020408@gmail.com> Reply-To: joerg.schaible@gmx.de Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: hsi-kbw-078-043-015-110.hsi4.kabel-badenwuerttemberg.de User-Agent: KNode/4.14.8 Hi Thomas, Thomas Neidhart wrote: > Hi all, > > in order to provide a work-around for the known remote code exploit via > java de-serialization of malicious InvokerTransformer instances, I would > like to start a vote to release Commons Collections 3.2.2 based on RC2. > > Notes: > > * the site will not be published, it just serves as a reference to > access the various reports. After a successful vote, the current 4.X > branch site will be updated with relevant information and published. > > * some tests might fail with various IBM JDK 6 JREs, these are known > issues and have been worked-around in the 4.X branch but are not > back-ported to this release. > > * Collections 3.2.2 can not be compiled with JDK 8 due to a name clash > with a newly introduced default method in the Map interface. > > * the collections-testframework.jar that has been published in previous > versions is not included in this release > > > Changes from RC1: > > * fixed RAT report > * fixed NOTICE file > * improve the security fix: it has been made symmetric in the sense > that also the serialization of an unsafe class is disabled by > default and will result in an exception > * changed the system property to re-enable serialization of unsafe > classes. It is now > "org.apache.commons.collections.enableUnsafeSerialization" > * all classes in the functor package which (based on current > knowledge) have to be considered unsafe cannot be serialized/ > de-serialized any more by default. This includes the following > classes: > > ** CloneTransformer > ** PrototypeFactory (inner classes > PrototypeCloneFactory and > PrototypeSerializationFactory) > ** InstantiateFactory > ** InstantiateTransformer > ** ForClosure > ** WhileClosure > ** InvokerTransformer > > > > Collections 3.2.2 RC2 is available for review here: > https://dist.apache.org/repos/dist/dev/commons/collections/ > (svn revision 11147) > > Maven artifacts are here: > > https://repository.apache.org/content/repositories/orgapachecommons-1116/commons-collections/commons-collections/3.2.2/ > > Details of changes since 3.2.1 are in the release notes: > > https://dist.apache.org/repos/dist/dev/commons/collections/RELEASE-NOTES.txt > > http://people.apache.org/builds/commons/collections/3.2.2/RC2/changes-report.html > > The tag is here: > > https://svn.apache.org/repos/asf/commons/proper/collections/tags/COLLECTIONS_3_2_2_RC2 > (svn revision 1713883) > > Site: > http://people.apache.org/builds/commons/collections/3.2.2/RC2/ > > Clirr Report (compared to 3.2.1): > > http://people.apache.org/builds/commons/collections/3.2.2/RC2/clirr-report.html > > RAT Report: > > http://people.apache.org/builds/commons/collections/3.2.2/RC2/rat-report.html > > KEYS: > https://www.apache.org/dist/commons/KEYS > > Please review the release candidate and vote. > > > Considering that this is a security related release and that RC1 did not > show any functional problems with the release, I plan to close this vote > in 24 from now, i.e. after 1800 GMT 12-November 2015 > > [ ] +1 Release these artifacts > [ ] +0 OK, but... > [ ] -0 OK, but really should fix... > [ ] -1 I oppose this release because... -1, sorry, but there's a regression The package claims to be compatible with Java 1.3. Well, I don't have 1.3 anymore, but 1.4. And I can build CC-3.2.1 and run all tests with Blackdown JDK 1.4 and Maven 2.0.11. For CC-3.2.2 I have to use at least Java 5 and Maven 3.0(.5): - Using java-1.4 profile: Build fails, because tests no longer compile - Sun JDK 1.5: TestAllPackages fails due to SecurityException: ================== %< ================== Running org.apache.commons.collections.TestAllPackages java.lang.SecurityException at org.apache.commons.collections.TestExtendedProperties$1.checkPropertyAccess(TestExtendedProperties.java:322) at java.lang.System.getProperty(System.java:628) at sun.security.action.GetPropertyAction.run(GetPropertyAction.java:66) at java.security.AccessController.doPrivileged(Native Method) at java.io.PrintWriter.(PrintWriter.java:77) at java.io.PrintWriter.(PrintWriter.java:61) at org.apache.maven.surefire.report.LegacyPojoStackTraceWriter.writeTraceToString(LegacyPojoStackTraceWriter.java:56) at org.apache.maven.surefire.booter.ForkingRunListener.encode(ForkingRunListener.java:330) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:119) ================== %< ================== - Sun JDK 1.6: OK - Oracle JDK 1.7: OK - IBM JDK 1.5: OK (!!) - IBM JDK 1.6 (J9 2.4): fails (as expected, same for CC-3.2.1) - IBM JDK 1.7: OK (!!) - IcedTea 6 (OpenJDK): TestAllPackages fails due to SecurityException: ================== %< ================== Running org.apache.commons.collections.TestAllPackages java.lang.SecurityException at org.apache.commons.collections.TestExtendedProperties$1.checkPropertyAccess(TestExtendedProperties.java:322) at java.lang.System.getProperty(System.java:628) at sun.security.action.GetPropertyAction.run(GetPropertyAction.java:66) at java.security.AccessController.doPrivileged(Native Method) at java.io.PrintWriter.(PrintWriter.java:77) at java.io.PrintWriter.(PrintWriter.java:61) at org.apache.maven.surefire.report.LegacyPojoStackTraceWriter.writeTraceToString(LegacyPojoStackTraceWriter.java:56) at org.apache.maven.surefire.booter.ForkingRunListener.encode(ForkingRunListener.java:330) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:119) ================== %< ================== - IcedTea 7 (OpenJDK): OK TestExtendedProperties.testActiveSecurityManager is the only test using a SM, but I wonder, why it fails the test now, because both failing JDKs have no problem building CC-3.2.1 (using Maven 3.0.5) and all tests pass fine. Cheers, Jörg --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org