CVE-2017-5647 Exposure of Sensitive Information to an Unauthorized Actor in Apache Tomcat

High 7.5 Published Updated

Attackers can receive responses for wrong requests due to pipelining bugs when send file is enabled, leading to information disclosure.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2017-5647?

CVE-2017-5647 is a high-severity vulnerability in Apache Tomcat, published on 17 Apr 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A bug in the handling of the pipelined requests in Apache Tomcat 9.0.0.M1 to 9.0.0.M18, 8.5.0 to 8.5.12, 8.0.0.RC1 to 8.0.42, 7.0.0 to 7.0.76, and 6.0.0 to 6.0.52, when send file was used, results in the pipelined request being lost when send file processing of the previous request completed. This could result in responses appearing to be sent for the wrong request. For example, a user agent that sent requests A, B and C could see the correct response for request A, the response for request C for request B and no response for request C.

Weakness: CWE-200

Which versions are affected by CVE-2017-5647?

10 open source packages ship an affected version, including org.apache.tomcat:tomcat. It affects 1 product.

PackageAffectedFixed in
org.apache.tomcat:tomcat MavenFrom 6.0.06.0.53
org.apache.tomcat:tomcat MavenFrom 6.0.06.0.53
org.apache.tomcat:tomcat MavenFrom 7.0.07.0.77
org.apache.tomcat:tomcat MavenFrom 7.0.07.0.77
org.apache.tomcat:tomcat MavenFrom 8.0.08.0.43
org.apache.tomcat:tomcat MavenFrom 8.0.08.0.43
4 more packages
org.apache.tomcat:tomcat MavenFrom 8.5.08.5.13
org.apache.tomcat:tomcat MavenFrom 8.5.08.5.13
org.apache.tomcat:tomcat MavenFrom 9.0.0.M19.0.0.M19
org.apache.tomcat:tomcat MavenFrom 9.0.0.M19.0.0.M19

Products include Apache Tomcat.

How do I fix CVE-2017-5647?

Upgrade org.apache.tomcat:tomcat to a fixed version for your release line: 6.0.53, 7.0.77, 8.0.43 or 8.5.13.

Is CVE-2017-5647 being exploited?

There is no known exploitation of CVE-2017-5647 in the wild and no public exploit code.

All Apache Tomcat vulnerabilities

Sources

Also known as GHSA-3gv7-3h64-78cm, UBUNTU-CVE-2017-5647.

Is CVE-2017-5647 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free