CVEBrief

Home / 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 / CVE-2017-4995

CVE-2017-4995: is it exploited, and which versions of Spring Security Spring Security 4.2.0.RELEASE 4.2.2.RELEASE and Spring Security 5.0.0.M1 are affected and fixed?

CVE-2017-4995 is a deserialization of untrusted data vulnerability in Spring Security Spring Security 4.2.0.RELEASE 4.2.2.RELEASE and Spring Security 5.0.0.M1. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 07:08 UTC). Affected: org.springframework.security:spring-security-core from 4.2.0.RELEASE before 4.2.3.RELEASE and org.springframework.security:spring-security-core from 5.0.0.M1 before 5.0.0.M2 (GitHub advisory GHSA-vhrg-v3cv-p247). Fixed in 4.2.3.RELEASE and 5.0.0.M2 (GitHub advisory GHSA-vhrg-v3cv-p247). Severity: High (8.1, CVSS 3.1, from NVD).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:08 UTC, CVE record November 19, 2026, 07:18 UTC and NVD November 19, 2026, 08:36 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 07:08 UTC
Affected
org.springframework.security:spring-security-core from 4.2.0.RELEASE before 4.2.3.RELEASE and org.springframework.security:spring-security-core from 5.0.0.M1 before 5.0.0.M2
GitHub advisory GHSA-vhrg-v3cv-p247
Fixed in
4.2.3.RELEASE and 5.0.0.M2
GitHub advisory GHSA-vhrg-v3cv-p247
Severity
High 8.1
CVSS 3.1 from NVD
Exploit odds (EPSS)
2.55% in 30 days
higher than 85% of CVEs; FIRST, December 2, 2026

What is 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 Spring Security enables default typing.

From the CVE record by dell, last updated August 5, 2024, 14:47 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
Spring Security Spring Security 4.2.0.RELEASE 4.2.2.RELEASE and Spring Security 5.0.0.M1Spring Security Spring Security 4.2.0.RELEASE 4.2.2.RELEASE and Spring Security

As the CVE record by dell states it, last updated August 5, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which packages are affected, and in which version is each fixed?

EcosystemPackageAffectedFixed inAdvisory
Mavenorg.springframework.security:spring-security-core>= 4.2.0.RELEASE, < 4.2.3.RELEASE4.2.3.RELEASEGHSA-vhrg-v3cv-p247
Mavenorg.springframework.security:spring-security-core>= 5.0.0.M1, < 5.0.0.M25.0.0.M2GHSA-vhrg-v3cv-p247

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated March 5, 2024. Summary: Deserialization of Untrusted Data in Spring Security.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
vmwarespring security4.2.0application
vmwarespring security4.2.1application
vmwarespring security4.2.2application
vmwarespring security5.0.0application

NVD analysis (status Modified), last modified June 17, 2026, 01:19 UTC.

How severe is CVE-2017-4995?

ScoreVersionVectorSource
High 8.1CVSS 3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HNVD
Medium 6.8CVSS 2.0AV:N/AC:M/Au:N/C:P/I:P/A:PNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2017-4995 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
EPSS
2.55% probability of exploitation activity in the next 30 days, percentile 85.5 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
December 29, 2016
Published
November 27, 2017, 10:00 UTC
CVE record updated
August 5, 2024, 14:47 UTC by dell
NVD
Modified, last modified June 17, 2026, 01:19 UTC
Last checked
CVE list November 19, 2026, 07:18 UTC; NVD November 19, 2026, 08:36 UTC; KEV December 3, 2026, 07:08 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

Questions about CVE-2017-4995

Is CVE-2017-4995 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:08 UTC. FIRST's EPSS gives it a 2.55% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of Spring Security Spring Security 4.2.0.RELEASE 4.2.2.RELEASE and Spring Security 5.0.0.M1 are affected by CVE-2017-4995?

org.springframework.security:spring-security-core from 4.2.0.RELEASE before 4.2.3.RELEASE and org.springframework.security:spring-security-core from 5.0.0.M1 before 5.0.0.M2, per the GitHub advisory GHSA-vhrg-v3cv-p247. The tables above give every range the sources list.

Which version fixes CVE-2017-4995?

4.2.3.RELEASE and 5.0.0.M2, per the GitHub advisory GHSA-vhrg-v3cv-p247. Check the vendor's advisory before you rely on it.

How severe is CVE-2017-4995?

High (8.1, CVSS 3.1, from NVD). The severity table above shows each score with its source.

Where is the official record of CVE-2017-4995?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.