CVE-2017-7675 Improper Limitation of a Pathname to a Restricted Directory in Apache Tomcat

High 7.5 Published Updated

Attackers can bypass security constraints and perform directory traversal attacks in Apache Tomcat's HTTP/2 implementation via crafted URLs.

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-7675?

CVE-2017-7675 is a high-severity path traversal vulnerability in Apache Tomcat, published on 11 Aug 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The HTTP/2 implementation in Apache Tomcat 9.0.0.M1 to 9.0.0.M21 and 8.5.0 to 8.5.15 bypassed a number of security checks that prevented directory traversal attacks. It was therefore possible to bypass security constraints using a specially crafted URL.

Weakness: CWE-22

Which versions are affected by CVE-2017-7675?

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

PackageAffectedFixed in
org.apache.tomcat:tomcat MavenFrom 8.5.08.5.16
org.apache.tomcat:tomcat MavenFrom 8.5.08.5.16
org.apache.tomcat:tomcat MavenFrom 9.0.0.M19.0.0.M22
org.apache.tomcat:tomcat MavenFrom 9.0.0.M19.0.0.M22

Products include Apache Tomcat.

How do I fix CVE-2017-7675?

Upgrade org.apache.tomcat:tomcat to a fixed version for your release line: 8.5.16 or 9.0.0.M22.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2017-7675 being exploited?

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

All Apache Tomcat vulnerabilities

Sources

Also known as GHSA-68g5-8q7f-m384.

Is CVE-2017-7675 in your software?

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

Check your SBOMs for free