This vulnerability breaks the mold of previous Fastjson exploits in three important ways:
The exploit is not universal across all Fastjson usage. It requires all of the following conditions :
JSON.parse, JSON.parseObject).Standard non-fat JAR deployments, WAR deployments on Tomcat/Jetty, and generic uber-JARs are not affected .
Confirmed impact: Spring Boot 2.x–4.x across JDK 8 through JDK 21. The vulnerability is in the Fastjson library itself, not in the JDK, so all supported JDK versions carrying vulnerable Fastjson are at risk .
Since Alibaba has not released a patched 1.x Fastjson release, organizations must apply one of the following workarounds :
-Dfastjson.parser.safeMode=true. This disables all deserialization of arbitrary classes com.alibaba:fastjson:1.2.83_noneautotype, a special build that strips AutoType support entirely Additional detection guidance: Monitor logs for suspicious @type values, nested JAR URLs in JSON payloads, and unexpected outbound network connections from application servers .