KeygraphLabs · CVE MCP

CVE-2017-4995 · dell

CVE-2017-4995

An issue was discovered in Pivotal Spring Security 4.2.0.RELEASE through 4.2.2.RELEASE, and Spring Security 5.0.0.M1. When configured to enable default typing, Jackson contained a deserialization vulnerability that could lead to arbitrary code execution. Jackson fixed this vulnerability by blacklisting known "deserialization gadgets." Spring Security configures Jackson with global default typing enabled, which means that (through the previous exploit) arbitrary code could be executed if all of the following is true: (1) Spring Security's Jackson support is being leveraged by invoking SecurityJackson2Modules.getModules(ClassLoader) or SecurityJackson2Modules.enableDefaultTyping(ObjectMapper); (2) Jackson is used to deserialize data that is not trusted (Spring Security does not perform deserialization using Jackson, so this is an explicit choice of the user); and (3) there is an unknown (Jackson is not blacklisting it already) "deserialization gadget" that allows code execution present on the classpath. Jackson provides a blacklisting approach to protecting against this type of attack, but Spring Security should be proactive against blocking unknown "deserialization gadgets" when...

Published 2017-11-27, last changed 2026-06-17. Weakness: CWE-502.

CVSS
8.1
high, from NVD
EPSS
2.55%
percentile 85.6%, chance of exploitation in 30 days
Exploitation
None known
no KEV listing or public exploit in our indexes

How to fix

Upgrade to a fixed version: org.springframework.security:spring-security-core 4.2.3.RELEASE, 5.0.0.M2 (Maven) (each is the fix for its own release line). For the version that clears every advisory for your installed version, ask an agent for get_remediation.

Timeline

2017-11-27Published
2022-05-13Package advisory GHSA-vhrg-v3cv-p247
2026-06-17Record last changed
2026-11-30EPSS when our history starts: 2.55%

Affected packages

AdvisoryPackageFixed in
GHSA-vhrg-v3cv-p247org.springframework.security:spring-security-core (Maven)4.2.3.RELEASE
GHSA-vhrg-v3cv-p247org.springframework.security:spring-security-core (Maven)5.0.0.M2

Also known as: GHSA-vhrg-v3cv-p247

Related

CVEPublishedCVSSSummary
CVE-2026-227462026-04-223.7User Attribute Enumeration when Using DaoAuthenticationProvider
CVE-2026-227512026-04-214.8Spring Security JdbcOneTimeTokenService allows a one-time token to authenticate multiple sessions
CVE-2025-222342026-01-225.3Spring Security - BCrypt Password Encoder maximum password length breaks timing attack mitigation
CVE-2025-412482025-09-167.5CVE-2025-41248: Spring Security authorization bypass for method security annotations on parameterized types
CVE-2025-412322025-05-219.1CVE-2025-41232: Spring Security authorization bypass for method security annotations on private methods
CVE-2025-222232025-03-245.3same package: org.springframework.security:spring-security-core (Maven)
CVE-2024-388272024-12-024.8Spring Security Authorization Bypass for Case Sensitive Comparisons
CVE-2024-388102024-08-207.5Missing Authorization When Using @AuthorizeReturnObject

Add it to your agent

One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.

claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp

Then ask for triage_cve CVE-2017-4995, or call /api/v1/vulnerabilities/CVE-2017-4995. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.

NVD · CVE.org