CVE-2015-5262

NameCVE-2015-5262
Descriptionhttp/conn/ssl/SSLConnectionSocketFactory.java in Apache HttpComponents HttpClient before 4.3.6 ignores the http.socket.timeout configuration setting during an SSL handshake, which allows remote attackers to cause a denial of service (HTTPS call hang) via unspecified vectors.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-322-1
Debian Bugs798650

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
commons-httpclient (PTS)sid, trixie, bookworm, bullseye3.1-16fixed
httpcomponents-client (PTS)bullseye4.5.13-2fixed
sid, trixie, bookworm4.5.14-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
commons-httpclientsourcesqueeze3.1-9+deb6u2DLA-322-1
commons-httpclientsourcewheezy3.1-10.2+deb7u2
commons-httpclientsourcejessie3.1-11+deb8u1
commons-httpclientsource(unstable)3.1-12798650
httpcomponents-clientsourcesqueeze(not affected)
httpcomponents-clientsourcewheezy(not affected)
httpcomponents-clientsource(unstable)4.3.6-1low

Notes

[jessie] - httpcomponents-client <no-dsa> (Minor issue)
[squeeze] - httpcomponents-client <not-affected> (Regression introduced in 4.3.0)
[wheezy] - httpcomponents-client <not-affected> (Regression introduced in 4.3.0)
https://bugzilla.redhat.com/show_bug.cgi?id=1261538
https://issues.apache.org/jira/browse/HTTPCLIENT-1478 says it's really fixed in 4.3.6 and that 4.2.x did not have this bug.
Proposed patch for commons-httpclient: https://bugzilla.redhat.com/show_bug.cgi?id=1259892
Checked that both 4.0.1 (in Squeeze) and 4.1.1 (in Wheezy) have the call to set the timout before the SSL connection is opened.
Jessie's 4.3.5-2 is however missing the upstream patch: http://svn.apache.org/viewvc/httpcomponents/httpclient/branches/4.3.x/httpclient/src/main/java/org/apache/http/conn/ssl/SSLConnectionSocketFactory.java?r1=1560975&r2=1626784

Search for package or bug name: Reporting problems