Since Tuesday the Java world has been chasing two vulnerabilities, a leaked proof-of-concept, a nickname designed to sound like Log4Shell, and a great deal of confident commentary written before anyone had an advisory to read. This morning Spring published one, along with fixed releases. The picture is clearer, and calmer, than the noise suggested.
We are writing this on the day of the advisory. In December we argued that advice during a fast-moving disclosure should carry a shelf life, so here is ours: this is our read as of Thursday morning, Texas time. Some of it will age, and we will say so when it does.
Two bugs, one name
Much of Wednesday's alarm came from two separate issues being mixed together in the same threads.
- CVE-2022-22963, Spring Cloud Function. Published Tuesday. A crafted routing expression sent to the routing feature can lead to remote code execution. Fixed in 3.1.7 and 3.2.3. It is serious and narrow: it only affects you if you use Spring Cloud Function.
- CVE-2022-22965, Spring Framework. Reported to Spring late on Tuesday. Full exploit details leaked online on Wednesday, before any fix existed. The CVE and the fixed releases, Spring Framework 5.3.18 and 5.2.20, arrived this morning. The flaw is in data binding in Spring MVC and Spring WebFlux applications, and this is the one being called Spring4Shell.
Your first triage step is unglamorous: make sure everyone on the call knows which of the two they are talking about. In the past forty-eight hours we have seen version numbers, severity scores and affected-product lists for one bug pasted into tickets about the other.
The conditions are the story
Spring's advisory is unusually specific about what the known exploit needs, and all of these conditions must hold together:
- the application runs on JDK 9 or later
- it runs on Apache Tomcat as the servlet container
- it is packaged as a traditional WAR, not as a Spring Boot executable jar
- it depends on spring-webmvc or spring-webflux
- it uses an affected Framework version: 5.3.0 to 5.3.17, 5.2.0 to 5.2.19, or older
Spring also says applications run as a Spring Boot executable jar, which is the default, are not vulnerable to the reported exploit. Researchers who have tested the leaked exploit since Wednesday, Rapid7 among them, reach the same place from a different direction: Spring out of the box is not enough, and the application code has to be written in a particular way for the exploit to land.
Compare that with December. Log4Shell could be reached by any attacker-controlled string that ended up in a log line, which is why it was everywhere. This bug needs a particular deployment shape. That is a real difference, and the people saying "this is not Log4Shell" are right on the facts we have today.
Now the red-team caveat, which is the part we would underline for clients. Spring itself says the vulnerability is more general than the published exploit, and that other ways to exploit it may exist. Attackers start with whatever path works and then widen it. The conditions above describe the exploit, not the bug. Use them to decide where to look first, not where to stop looking.
How we are triaging, in order
- Internet-facing Java web applications you built yourselves. Check the Spring version, the JDK version and how the application is packaged and deployed. If you built the software inventory December taught us to keep, your developers can answer this in an hour. That was the whole point.
- WAR deployments on Tomcat, running JDK 9 or later. These go to the top of the list. Upgrade the framework, which Spring calls the preferred fix.
- Everything else on an affected Spring version. Patch it on your emergency cadence rather than your normal one. A narrow exploit today is a reason to sequence the work, not a reason to skip it.
- Software you bought. Plenty of commercial products are built on Spring. Ask the vendor in writing, and expect advisories to keep arriving through next week.
Where you cannot upgrade today, Spring has published an interim code-level mitigation that restricts which fields data binding will accept. Treat it as a bridge to the upgrade, not a replacement for it. Web application firewall rules are worth deploying as a speed bump. They are not a fix, and they tend to be tuned to the payload everyone has already seen.
What we would watch for
From the defensive side, these signals do not depend on knowing the exact exploit:
- New script files in web application directories. The leaked proof-of-concept leaves a file behind on the server. File integrity monitoring on web roots will catch that pattern whatever the request looked like.
- Odd request parameters in web logs, especially ones referring to Java class and class-loader internals. Vendor WAF signatures are keyed on these.
- Application server processes starting shells. A Java web application has very few legitimate reasons to do that.
- Unexpected outbound connections from application servers. Restricting server egress, the lesson from December, pays off again here.
As we write, we have seen no exploitation attempts against client systems, and we would not read much into that. With a working exploit public, mass scanning within days is a safe assumption. Plan as though exploitation is coming, because it usually does.
How to read the next 72 hours
Some signals should change your priority. A vendor advisory for a product you run. CISA adding the CVE to its catalog of known exploited vulnerabilities. Incident responders reporting confirmed compromises. A new exploit path that removes one of the conditions above.
Other signals should not. A nickname. A logo. A severity score attached to the wrong CVE. A screenshot with no version numbers in it.
Named vulnerabilities are useful for conversation and useless for prioritization. We are glad this one has a name, because it made the Wednesday stand-up shorter. It does not tell you anything about your own exposure.
So triage the conditions, patch the exposure, and check back on Monday. A nickname tells you how loud a bug is. Only the advisory tells you how close it is.
Sources
- Spring Framework RCE, Early Announcement — Spring Blog, March 2022
- CVE-2022-22965: Spring Framework RCE via Data Binding on JDK 9+ — Spring Security Advisories, March 2022
- CVE-2022-22963: Remote code execution in Spring Cloud Function by malicious Spring Expression — Spring Security Advisories, March 2022
- Spring4Shell: Zero-Day Vulnerability in Spring Framework — Rapid7, March 2022






