Bug 6331 - plexus-archiver new security issue CVE-2012-2098 (was for apache-commons-compress)
Summary: plexus-archiver new security issue CVE-2012-2098 (was for apache-commons-comp...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: Security (show other bugs)
Version: 3
Hardware: i586 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL: http://lwn.net/Vulnerabilities/500176/
Whiteboard: has_procedure mga3-64-ok mga3-32-ok a...
Keywords: validated_update
Depends on:
Blocks:
 
Reported: 2012-06-04 22:13 CEST by David Walser
Modified: 2014-02-12 18:44 CET (History)
5 users (show)

See Also:
Source RPM: plexus-archiver
CVE:
Status comment:


Attachments

Description David Walser 2012-06-04 22:13:37 CEST
Fedora has issued an advisory on May 26:
http://lists.fedoraproject.org/pipermail/package-announce/2012-June/081697.html

It is fixed upstream in 1.4.1, so Cauldron/Mageia 2 are also affected.
David Walser 2012-06-04 22:13:43 CEST

CC: (none) => dmorganec

Comment 1 David Walser 2012-06-14 23:59:29 CEST
Changing the version assignments for the new policy.

Just so it's still clear, Cauldron, Mageia 2, and Mageia 1 are all affected.

Version: 1 => Cauldron
Whiteboard: (none) => MGA2TOO, MGA1TOO

Comment 2 D Morgan 2012-07-04 08:10:45 CEST
cauldron is Fixed
Comment 3 D Morgan 2012-07-04 09:43:13 CEST
new ant is part of this update too  see:

http://mail-archives.apache.org/mod_mbox/www-announce/201205.mbox/%3C87ipfnvvxr.fsf@v35516.1blu.de%3E
Comment 4 D Morgan 2012-07-04 10:27:21 CEST
pushed on mga2 ( ant and apache-commons-compress )

ant is pushed on mga1
Comment 5 David Walser 2012-07-04 15:11:08 CEST
Built so far:
xz-java-1.0-0.1.mga2.noarch.rpm
xz-java-javadoc-1.0-0.1.mga2.noarch.rpm
ant-1.8.4-0.2.mga2.noarch.rpm
ant-jmf-1.8.4-0.2.mga2.noarch.rpm
ant-swing-1.8.4-0.2.mga2.noarch.rpm
ant-antlr-1.8.4-0.2.mga2.noarch.rpm
ant-apache-bsf-1.8.4-0.2.mga2.noarch.rpm
ant-apache-resolver-1.8.4-0.2.mga2.noarch.rpm
ant-commons-logging-1.8.4-0.2.mga2.noarch.rpm
ant-commons-net-1.8.4-0.2.mga2.noarch.rpm
ant-apache-bcel-1.8.4-0.2.mga2.noarch.rpm
ant-apache-log4j-1.8.4-0.2.mga2.noarch.rpm
ant-apache-oro-1.8.4-0.2.mga2.noarch.rpm
ant-apache-regexp-1.8.4-0.2.mga2.noarch.rpm
ant-apache-xalan2-1.8.4-0.2.mga2.noarch.rpm
ant-javamail-1.8.4-0.2.mga2.noarch.rpm
ant-jdepend-1.8.4-0.2.mga2.noarch.rpm
ant-jsch-1.8.4-0.2.mga2.noarch.rpm
ant-junit-1.8.4-0.2.mga2.noarch.rpm
ant-testutil-1.8.4-0.2.mga2.noarch.rpm
ant-scripts-1.8.4-0.2.mga2.noarch.rpm
ant-manual-1.8.4-0.2.mga2.noarch.rpm
ant-javadoc-1.8.4-0.2.mga2.noarch.rpm
apache-commons-compress-1.4.1-0.1.mga2.noarch.rpm
apache-commons-compress-javadoc-1.4.1-0.1.mga2.noarch.rpm

from SRPMS:
xz-java-1.0-0.1.mga2.src.rpm
ant-1.8.4-0.2.mga2.src.rpm
apache-commons-compress-1.4.1-0.1.mga2.src.rpm

Still pending:
Updates for Mageia 1 (including ant, which failed to build)

Version: Cauldron => 2
Whiteboard: MGA2TOO, MGA1TOO => MGA1TOO

Comment 6 David Walser 2012-07-04 15:12:01 CEST
Also still possibly needed:
Updates for apache-commons-compress10 if it is also affected by this issue.
Comment 7 D Morgan 2012-07-05 00:27:42 CEST
there is a pb in mga2, all the ant are not available.
Comment 8 David Walser 2012-07-05 00:35:33 CEST
(In reply to comment #7)
> there is a pb in mga2, all the ant are not available.

Indeed.  This is the same thing that happened to the firefox-l10n package in Mageia 2 updates_testing in the initial attempt to build the update for 10.0.5.

Is iurt only eating packages in Mageia 2 updates_testing?

CC: (none) => sysadmin-bugs

Comment 9 D Morgan 2012-07-05 00:39:09 CEST
fixed now for ant in mga2
Comment 10 David Walser 2012-07-05 00:47:54 CEST
(In reply to comment #9)
> fixed now for ant in mga2

Thanks.  Subrel was bumped, so I'll provide a new package list.  Hopefully none get eaten.

xz-java-1.0-0.1.mga2.noarch.rpm
xz-java-javadoc-1.0-0.1.mga2.noarch.rpm
ant-1.8.4-0.3.mga2.noarch.rpm
ant-jmf-1.8.4-0.3.mga2.noarch.rpm
ant-swing-1.8.4-0.3.mga2.noarch.rpm
ant-antlr-1.8.4-0.3.mga2.noarch.rpm
ant-apache-bsf-1.8.4-0.3.mga2.noarch.rpm
ant-apache-resolver-1.8.4-0.3.mga2.noarch.rpm
ant-commons-logging-1.8.4-0.3.mga2.noarch.rpm
ant-commons-net-1.8.4-0.3.mga2.noarch.rpm
ant-apache-bcel-1.8.4-0.3.mga2.noarch.rpm
ant-apache-log4j-1.8.4-0.3.mga2.noarch.rpm
ant-apache-oro-1.8.4-0.3.mga2.noarch.rpm
ant-apache-regexp-1.8.4-0.3.mga2.noarch.rpm
ant-apache-xalan2-1.8.4-0.3.mga2.noarch.rpm
ant-javamail-1.8.4-0.3.mga2.noarch.rpm
ant-jdepend-1.8.4-0.3.mga2.noarch.rpm
ant-jsch-1.8.4-0.3.mga2.noarch.rpm
ant-junit-1.8.4-0.3.mga2.noarch.rpm
ant-testutil-1.8.4-0.3.mga2.noarch.rpm
ant-scripts-1.8.4-0.3.mga2.noarch.rpm
ant-manual-1.8.4-0.3.mga2.noarch.rpm
ant-javadoc-1.8.4-0.3.mga2.noarch.rpm
apache-commons-compress-1.4.1-0.1.mga2.noarch.rpm
apache-commons-compress-javadoc-1.4.1-0.1.mga2.noarch.rpm

from SRPMS:
xz-java-1.0-0.1.mga2.src.rpm
ant-1.8.4-0.3.mga2.src.rpm
apache-commons-compress-1.4.1-0.1.mga2.src.rpm

Still pending:
Updates for Mageia 1
Comment 11 David Walser 2012-12-04 00:24:14 CET
D Morgan, is apache-commons-compress10 affected by this?
Comment 12 David Walser 2013-05-13 19:35:37 CEST
Removing Mageia 1 from the whiteboard due to EOL.

Fedora has issued more advisories for this, as it also affects plexus-archiver.
http://lwn.net/Alerts/550441/

Version: 2 => Cauldron
Whiteboard: MGA1TOO => MGA2TOO

Comment 13 David Walser 2013-05-13 21:24:28 CEST
(In reply to David Walser from comment #12)
> Fedora has issued more advisories for this, as it also affects
> plexus-archiver.
http://lists.fedoraproject.org/pipermail/package-announce/2013-May/105060.html
David Walser 2013-08-27 16:52:32 CEST

Assignee: bugsquad => dmorganec

Comment 14 David Walser 2013-11-21 22:44:01 CET
Shame that we never issued this update for Mageia 2 (EOL now).

This still needs to be looked into for plexus-archiver for Mageia 3 and Cauldron.

Summary: apache-commons-compress new security issue CVE-2012-2098 => plexus-archiver new security issue CVE-2012-2098 (was for apache-commons-compress)
Whiteboard: MGA2TOO => MGA3TOO

David Walser 2013-11-21 23:05:17 CET

Blocks: (none) => 11726

Comment 15 David Walser 2014-01-03 14:42:19 CET
I believe this is fixed in plexus-archiver 2.3, so Cauldron should be fine now (has 2.4.2), but Mageia 3 needs an update.

Version: Cauldron => 3
Blocks: 11726 => (none)
Whiteboard: MGA3TOO => (none)

Comment 16 David Walser 2014-01-03 16:32:42 CET
Patched packages uploaded for Mageia 3 and Cauldron.

Advisory:
========================

Updated plexus-archiver packages fix security vulnerability:

Algorithmic complexity vulnerability in the sorting algorithms in bzip2
compressing stream (BZip2CompressorOutputStream) in Apache Commons Compress
before 1.4.1 allows remote attackers to cause a denial of service (CPU
consumption) via a file with many repeating inputs (CVE-2012-2098).

plexus-archiver used an embedded copy of the affected code from Apache
Commons Compress, and therefore was affected by this.  It has been patched
to use the apache-commons-compress package, in which this issue has already
been fixed, for bzip2 compression and decompression.

References:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-2098
https://lists.fedoraproject.org/pipermail/package-announce/2012-June/081697.html
https://lists.fedoraproject.org/pipermail/package-announce/2013-May/105060.html
========================

Updated packages in core/updates_testing:
========================
plexus-archiver-2.3-1.mga3
plexus-archiver-javadoc-2.3-1.mga3

from plexus-archiver-2.3-1.mga3.src.rpm

Assignee: dmorganec => qa-bugs
Source RPM: apache-commons-compress, apache-commons-compress10 => plexus-archiver

Comment 17 claire robinson 2014-01-06 17:40:04 CET
The epoch has been reset so it is not being seen as an update.

not selecting plexus-archiver-2.3-1.mga3.noarch since the more recent 
plexus-archiver-2.2-3.mga3.noarch is installed

http://svnweb.mageia.org/packages/updates/3/plexus-archiver/current/SPECS/plexus-archiver.spec?r1=418302&r2=564228

Whiteboard: (none) => feedback

Comment 18 claire robinson 2014-01-06 17:43:48 CET
Epoch was added back in cauldron in september.
Comment 19 David Walser 2014-01-06 17:44:22 CET
Thanks.  I've fixed the epoch and it's rebuilding now.  The updated packages should otherwise have the same name, version, and release.
David Walser 2014-01-06 17:44:27 CET

Whiteboard: feedback => (none)

claire robinson 2014-01-06 17:45:08 CET

Whiteboard: (none) => feedback

David Walser 2014-01-06 17:45:48 CET

Whiteboard: feedback => (none)

Comment 20 claire robinson 2014-01-06 17:48:59 CET
Sorry, that was fast :)
Comment 21 Samuel Verschelde 2014-01-22 19:37:55 CET
The packages are missing in x86_64 media (there's a SRPM but no RPM).

Maybe something funny happened when submitted new packages with same version and new Epoch. I'd advise increasing subrel before submitting again.

CC: (none) => stormi
Whiteboard: (none) => feedback

Comment 22 David Walser 2014-01-22 20:44:52 CET
Rebuild submitted.

Updated packages in core/updates_testing:
========================
plexus-archiver-2.3-1.1.mga3
plexus-archiver-javadoc-2.3-1.1.mga3

from plexus-archiver-2.3-1.1.mga3.src.rpm

Whiteboard: feedback => (none)

Comment 23 claire robinson 2014-02-11 20:18:33 CET
As with most java stuff, just ensuring it updates cleanly. 
It adds alot of new dependencies but does update ok.

Mga3 64 ok

Whiteboard: (none) => has_procedure mga3-64-ok

Comment 24 claire robinson 2014-02-11 20:23:30 CET
testing complete mga3 32

Whiteboard: has_procedure mga3-64-ok => has_procedure mga3-64-ok mga3-32-ok

Comment 25 Rémi Verschelde 2014-02-12 09:31:44 CET
Validating update.

Advisory upload, could a sysadmin push to core/updates for Mageia 3? Thanks!

Keywords: (none) => validated_update
CC: (none) => remi
Whiteboard: has_procedure mga3-64-ok mga3-32-ok => has_procedure mga3-64-ok mga3-32-ok advisory

Comment 26 Thomas Backlund 2014-02-12 18:44:33 CET
Update pushed:
http://advisories.mageia.org/MGASA-2014-0056.html

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


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