Deserialization Vulnerability in Pivotal Spring Security Enables Arbitrary Code Execution
CVE-2017-4995
Summary
A deserialization vulnerability exists in Pivotal Spring Security versions 4.2.0.RELEASE to 4.2.2.RELEASE and Spring Security 5.0.0.M1, where enabling default typing for Jackson can lead to arbitrary code execution. This occurs when Jackson is configured to deserialize untrusted data without proper safeguards, exposing the application to potential exploits. Although Jackson has implemented blacklisting for known deserialization gadgets to mitigate risks, the responsibility falls on users to avoid utilizing the insecure configuration. Spring Security's inclusion of Jackson with default typing enabled necessitates greater caution to preemptively block arbitrary execution pathways presented by unknown gadgets on the classpath.
Affected Version(s)
Spring Security Spring Security 4.2.0.RELEASE 4.2.2.RELEASE and Spring Security 5.0.0.M1 Spring Security Spring Security 4.2.0.RELEASE 4.2.2.RELEASE and Spring Security 5.0.0.M1
References
CVSS V3.1
Timeline
Vulnerability published
Vulnerability Reserved