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, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SuSE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-322-1
NVD severitymedium (attack range: remote)
Debian Bugs798650

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
commons-httpclient (PTS)wheezy3.1-10.2+deb7u2fixed
jessie3.1-11+deb8u1fixed
stretch3.1-12fixed
buster, sid3.1-13fixed
httpcomponents-client (PTS)wheezy4.1.1-2+deb7u1fixed
jessie4.3.5-2vulnerable
stretch4.5.2-2fixed
buster, sid4.5.3-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
commons-httpclientsource(unstable)3.1-12medium798650
commons-httpclientsourcejessie3.1-11+deb8u1medium
commons-httpclientsourcesqueeze3.1-9+deb6u2mediumDLA-322-1
commons-httpclientsourcewheezy3.1-10.2+deb7u2medium
httpcomponents-clientsource(unstable)4.3.6-1low
httpcomponents-clientsourcesqueeze(not affected)
httpcomponents-clientsourcewheezy(not affected)

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