Bug 18123 - apache-commons-collections new security issue CVE-2015-8103
Summary: apache-commons-collections new security issue CVE-2015-8103
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: Security (show other bugs)
Version: 5
Hardware: All Linux
Priority: Normal critical
Target Milestone: ---
Assignee: QA Team
QA Contact: Sec team
URL: http://lwn.net/Vulnerabilities/682387/
Whiteboard: has_procedure advisory MGA5-32-OK MGA...
Keywords: validated_update
Depends on:
Blocks:
 
Reported: 2016-04-04 23:27 CEST by David Walser
Modified: 2018-12-08 18:51 CET (History)
5 users (show)

See Also:
Source RPM: apache-commons-collections-3.2.1-24.1.mga5.src.rpm
CVE:
Status comment:


Attachments

Description David Walser 2016-04-04 23:27:47 CEST
Fedora has issued an advisory on April 2:
https://lists.fedoraproject.org/pipermail/package-announce/2016-April/181046.html

The issue should be fixed by updating to version 3.2.2 (likely a sync with Cauldron).

More info on the RedHat bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1316430
David Walser 2016-04-04 23:28:02 CEST

CC: (none) => geiger.david68210, mageia

Comment 1 Marja Van Waes 2016-04-05 10:50:22 CEST
Assigning to maintainer

CC: (none) => marja11
Assignee: bugsquad => neoclust

Comment 2 David GEIGER 2016-04-08 07:18:14 CEST
I don't know why but version 3.2.2 does not built on mga5 (tried to compile locally and same issue).

Seems to be a problem with build of javadoc, maybe due the the super-strict doclint checks since java 8.


[INFO] <<< maven-javadoc-plugin:2.9.1:aggregate (default-cli) < generate-sources @ commons-collections <<<
[INFO] 
[INFO] --- maven-javadoc-plugin:2.9.1:aggregate (default-cli) @ commons-collections ---
[INFO] 
37 errors
100 warnings
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 23.787 s
[INFO] Finished at: 2016-04-08T05:08:00+00:00
[INFO] Final Memory: 31M/348M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.9.1:aggregate (default-cli) on project commons-collections: An error has occurred in JavaDocs report generation:
[ERROR] Exit code: 1 - /home/iurt/rpmbuild/BUILD/commons-collections-3.2.2-src/src/java/org/apache/commons/collections/BeanMap.java:191: warning: empty <ul> tag
[ERROR] * <ul>
[ERROR] ^
[ERROR] /home/iurt/rpmbuild/BUILD/commons-collections-3.2.2-src/src/java/org/apache/commons/collections/BeanMap.java:191: error: element not closed: ul
[ERROR] * <ul>


@pterjan: an idea about this issue?
Comment 3 David GEIGER 2016-04-08 14:04:05 CEST
Well! done now for mga5!

Thanks to pterjan to pointed me out a good workaround! :)
Comment 4 David Walser 2016-04-08 15:22:57 CEST
Advisory:
========================

Updated apache-commons-collections packages fix security vulnerability:

Due to an issue with serialization, Java applications can be vulnerable to
malicious remote code execution when the apache-commons-collections library is
on the classpath (CVE-2015-8103).

References:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-8103
https://lists.fedoraproject.org/pipermail/package-announce/2016-April/181046.html
========================

Updated packages in core/updates_testing:
========================
apache-commons-collections-3.2.2-1.mga5
apache-commons-collections-testframework-3.2.2-1.mga5
apache-commons-collections-javadoc-3.2.2-1.mga5
apache-commons-collections-testframework-javadoc-3.2.2-1.mga5

from apache-commons-collections-3.2.2-1.mga5.src.rpm

Assignee: neoclust => qa-bugs
Severity: normal => critical

Comment 5 David GEIGER 2016-04-08 16:20:15 CEST
Note:
apache-commons-collections-testframework-javadoc is no more provides, so here an new updated list:


Updated packages in 5/core/updates_testing:
========================
apache-commons-collections-3.2.2-1.mga5
apache-commons-collections-testframework-3.2.2-1.mga5
apache-commons-collections-javadoc-3.2.2-1.mga5

from apache-commons-collections-3.2.2-1.mga5.src.rpm
Comment 6 William Kenney 2016-04-09 16:03:37 CEST
Got a simple test for this one?

CC: (none) => wilcal.int

Comment 7 David Walser 2016-04-09 16:24:55 CEST
(In reply to William Kenney from comment #6)
> Got a simple test for this one?

Make sure it installs and upgrades cleanly from the previous version, that's all.
Comment 8 William Kenney 2016-04-12 18:01:35 CEST
In VirtualBox, M5, KDE, 32-bit

Package(s) under test:
apache-commons-collections

default install of apache-commons-collections

[root@localhost wilcal]# urpmi apache-commons-collections
Package apache-commons-collections-3.2.1-24.1.mga5.noarch is already installed

Installs cleanly

Install apache-commons-collections from updates_testing

[root@localhost wilcal]# urpmi apache-commons-collections
Package apache-commons-collections-3.2.2-1.mga5.noarch is already installed

Updates cleanly

Whiteboard: (none) => MGA5-32-OK

Comment 9 William Kenney 2016-04-12 18:10:42 CEST
In VirtualBox, M5, KDE, 64-bit

Package(s) under test:
apache-commons-collections

default install of apache-commons-collections

[root@localhost wilcal]# urpmi apache-commons-collections
Package apache-commons-collections-3.2.1-24.1.mga5.noarch is already installed

Installs cleanly

Install apache-commons-collections from updates_testing

[root@localhost wilcal]# urpmi apache-commons-collections
Package apache-commons-collections-3.2.2-1.mga5.noarch is already installed

Updates cleanly

Whiteboard: MGA5-32-OK => MGA5-32-OK MGA5-64-OK

Comment 10 William Kenney 2016-04-12 18:11:10 CEST
For me this update works fine.
Testing complete for MGA5, 32-bit & 64-bit
Validating the update.
Could someone from the sysadmin team push to updates.
Thanks

Keywords: (none) => validated_update
CC: (none) => sysadmin-bugs

Comment 11 claire robinson 2016-04-13 18:32:49 CEST
Ensured no conflicts with the other packages and javadoc correctly obsoleted.

Advisory uploaded.

Whiteboard: MGA5-32-OK MGA5-64-OK => has_procedure advisory MGA5-32-OK MGA5-64-OK

Comment 12 Mageia Robot 2016-04-13 19:40:00 CEST
An update for this issue has been pushed to the Mageia Updates repository.

http://advisories.mageia.org/MGASA-2016-0137.html

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 13 David Walser 2018-12-08 18:51:51 CET
This update also fixed two other issues:
https://nvd.nist.gov/vuln/detail/CVE-2015-6420
https://nvd.nist.gov/vuln/detail/CVE-2017-15708

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