Bug 951522

Summary: plexus-archiver: Uses embedded bzip implementation from apache-commons-compress (making it vulnerable against CVE-2012-2098 flaw and possibly others)
Product: [Fedora] Fedora Reporter: Jan Lieskovsky <jlieskov>
Component: plexus-archiverAssignee: Mikolaj Izdebski <mizdebsk>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: java-sig-commits, jcapik, mizdebsk
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: 2.3-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 951521 Environment:
Last Closed: 2013-05-13 00:21:11 EDT Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On: 951521    
Bug Blocks:    
Description Flags
Proposed patch from Mikolaj Izdebski (original issue reporter) to correct this deficiency none

Description Jan Lieskovsky 2013-04-12 07:34:48 EDT
+++ This bug was initially created as a clone of Bug #951521 +++

Description of problem:
Current version of plexus-archiver package in Fedora 18 contains embedded bzip2 code implementation within the included apache-commons-compress source, which makes it vulnerable against the CVE-2012-2098 flaw (and possibly others).

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1) Have a look at:

2) Compare it with upstream patch for CVE-2012-2098:
  [1] https://bugzilla.redhat.com/show_bug.cgi?id=810406#c17
Actual results:
Patch from [1] is applicable against (current) plexus-archiver package version in Fedora 18 too.

Expected results:
plexus-archiver should use system version of the apache-commons-compress package, which is available in Fedora 18 in order in case a similar flaw is found in apache-commons-compress package, it would not be needed to patch both (apache-commons-compress & plexus-archiver packages), but just to patch apache-commons-compress package would be sufficient.
Comment 1 Jan Lieskovsky 2013-04-12 07:35:31 EDT
Created attachment 734678 [details]
Proposed patch from Mikolaj Izdebski (original issue reporter) to correct this deficiency
Comment 2 Mikolaj Izdebski 2013-04-12 07:42:31 EDT
Fixed in plexus-archiver-2.3-1
Comment 3 Fedora Update System 2013-04-12 08:13:20 EDT
plexus-archiver-2.3-1.fc18 has been submitted as an update for Fedora 18.
Comment 4 Fedora Update System 2013-04-12 18:24:39 EDT
Package plexus-archiver-2.3-1.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing plexus-archiver-2.3-1.fc18'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
Comment 5 Mikolaj Izdebski 2013-05-13 00:21:11 EDT
I believe that this bug is fixed in plexus-archiver-2.3-1,
which is available in updates for Fedora 18, so I am closing this bug now.
Thank you for reporting it.  You are welcome to submit any further reports.

The build containing the fix can be found at Koji: