Bug 16870 - jakarta-commons-httpclient and httpcomponents-client new security issue CVE-2015-5262
Summary: jakarta-commons-httpclient and httpcomponents-client new security issue CVE-2...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: Security (show other bugs)
Version: 5
Hardware: i586 Linux
Priority: Normal critical
Target Milestone: ---
Assignee: QA Team
QA Contact: Sec team
URL: http://lwn.net/Vulnerabilities/658935/
Whiteboard: has_procedure advisory MGA5-64-OK
Keywords: validated_update
Depends on:
Blocks:
 
Reported: 2015-10-01 17:17 CEST by David Walser
Modified: 2015-10-09 20:48 CEST (History)
5 users (show)

See Also:
Source RPM: jakarta-commons-httpclient-3.1-15.mga5.src.rpm, httpcomponents-client-4.3.5-5.mga5.src.rpm
CVE:
Status comment:


Attachments

Description David Walser 2015-10-01 17:17:26 CEST
Debian-LTS has issued an advisory today (October 1):
http://lwn.net/Alerts/658922/

According to the RedHat bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1259892

It was fixed in httpcomponents-client 4.3.6, and they attached a patch for jakarta-commons-httpclient.

Furthermore, jakarta stuff is long since dead upstream and obsoleted by newer stuff like httpcomponents-client, and all the jakarta stuff needs to be dropped from Cauldron.

Reproducible: 

Steps to Reproduce:
David Walser 2015-10-01 17:17:33 CEST

Whiteboard: (none) => MGA5TOO

Comment 1 David GEIGER 2015-10-01 22:37:04 CEST
jakarta-commons-httpclient is now fixed for Cauldron and mga5 too by applying patch from Fedora.

However I don't know how to fix httpcomponents-client package for this CVE. I think 4.3.6 release does not fix this security contents of its release date 2014-11-05, see:

http://www.apache.org/dist/httpcomponents/httpclient/source/
Comment 2 David Walser 2015-10-01 22:39:24 CEST
Do you have a specific reason to believe that 4.3.6 doesn't include the fix?  Remember, jakarta stuff is dead for several years, so it needing a patch that was included in httpcomponents-client in late 2014 would not be unusual.
Comment 3 David GEIGER 2015-10-01 22:45:56 CEST
No, not specific reason to believe that 4.3.6 doesn't include the fix. :)

Just see that Fedora 21 has not yet fixed this package and no reference on this CVE for other Fedora release.
Comment 4 David Walser 2015-10-01 22:47:38 CEST
Fedora's Java packages aren't always very actively maintained either.
Comment 5 David GEIGER 2015-10-02 09:04:21 CEST
So now httpcomponents-client is updated to 4.3.6 release on Cauldron and mga5 too according to the RedHat bug.
Comment 6 David Walser 2015-10-02 12:15:06 CEST
Thanks David!

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

Updated jakarta-commons-httpclient and httpcomponents-client packages fix
security vulnerability:

The Apache httpclient library had a bug where the socket timeout was ignored
during the SSL handshake, causing threads in an application to hang
(CVE-2015-5262).

References:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-5262
https://bugzilla.redhat.com/show_bug.cgi?id=1259892
========================

Updated packages in core/updates_testing:
========================
jakarta-commons-httpclient-3.1-15.1.mga5
jakarta-commons-httpclient-javadoc-3.1-15.1.mga5
jakarta-commons-httpclient-demo-3.1-15.1.mga5
jakarta-commons-httpclient-manual-3.1-15.1.mga5
httpcomponents-client-4.3.6-1.mga5
httpcomponents-client-javadoc-4.3.6-1.mga5
httpcomponents-client-tests-4.3.6-1.mga5

from SRPMS:
jakarta-commons-httpclient-3.1-15.1.mga5.src.rpm
httpcomponents-client-4.3.6-1.mga5.src.rpm

CC: (none) => geiger.david68210
Version: Cauldron => 5
Assignee: geiger.david68210 => qa-bugs
Whiteboard: MGA5TOO => (none)

Comment 7 claire robinson 2015-10-02 23:30:26 CEST
Just ensure these upgrade cleanly.

Whiteboard: (none) => has_procedure

Comment 8 Brian Rockwell 2015-10-04 15:41:43 CEST
Installed. 

Did my php tests through the apache server.  I did not delve into writing some java server code.  

Seems to be working on 64bit.  At least it didn't break anything I can tell.

CC: (none) => brtians1

Dave Hodgins 2015-10-07 00:14:42 CEST

CC: (none) => davidwhodgins
Whiteboard: has_procedure => has_procedure advisory

Comment 9 Shlomi Fish 2015-10-08 23:03:02 CEST
(In reply to Brian Rockwell from comment #8)
> Installed. 
> 
> Did my php tests through the apache server.  I did not delve into writing
> some java server code.  
> 
> Seems to be working on 64bit.  At least it didn't break anything I can tell.

they update fine on MGA5-64. Marking as MGA5-64-OK .

CC: (none) => shlomif
Whiteboard: has_procedure advisory => has_procedure advisory MGA5-64-OK

Dave Hodgins 2015-10-09 00:32:39 CEST

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

Comment 10 Mageia Robot 2015-10-09 20:48:54 CEST
An update for this issue has been pushed to Mageia Updates repository.

http://advisories.mageia.org/MGASA-2015-0392.html

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


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