CVE-2017-9787 Spring AOP functionality (Struts) vulnerable to DoS attack

High 7.5 Published Updated

Attackers can cause a denial of service in Apache Struts when using Spring AOP for security, requiring an upgrade to mitigate.

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

CVE-2017-9787 is a high-severity denial of service vulnerability in Apache Struts, published on 13 Jul 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

When using a Spring AOP functionality to secure Struts actions it is possible to perform a DoS attack. Solution is to upgrade to Apache Struts version 2.5.12 or 2.3.33.

Which versions are affected by CVE-2017-9787?

4 open source packages ship an affected version, including org.apache.struts:struts2-core. It affects 1 product.

PackageAffectedFixed in
org.apache.struts:struts2-core MavenFrom 2.3.72.3.33
org.apache.struts:struts2-core MavenFrom 2.3.72.3.33
org.apache.struts:struts2-core MavenFrom 2.5.02.5.12
org.apache.struts:struts2-core MavenFrom 2.5.02.5.12

Products include Apache Struts.

How do I fix CVE-2017-9787?

Upgrade org.apache.struts:struts2-core to a fixed version for your release line: 2.3.33 or 2.5.12.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2017-9787 being exploited?

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

All Apache Struts vulnerabilities

Sources

Also known as GHSA-8mr5-h28g-36qx.

Is CVE-2017-9787 in your software?

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

Check your SBOMs for free