# CVE-2017-4995: Deserialization of Untrusted Data in Spring Security

Source: https://junglewise.ai/threats/cve-2017-4995-deserialization-of-untrusted-data-in-spring-security  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-05-13  
License: CC BY 4.0 with a link back

CVE-2017-4995 · Severity: low · CVSS 3.1 · Published 2022-05-13

Deserialization of Untrusted Data in Spring Security

Technologies: [org.springframework.security:spring-security-core (Maven)](https://junglewise.ai/threats/technologies/org-springframework-security-spring-security-core). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2017-4995 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2017-4995 being exploited in the wild.

**How severe is CVE-2017-4995?** Low severity, with a CVSS score of 3.1, published 13 May 2022.

**Which products and versions are affected?** org.springframework.security:spring-security-core (Maven) ECOSYSTEM:introduced=4.2.0.RELEASE,fixed=4.2.3.RELEASE.

**Is there a fix for CVE-2017-4995?** Yes. org.springframework.security:spring-security-core (Maven): upgrade to 4.2.3.RELEASE or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2017-4995?** Check whether you run org.springframework.security:spring-security-core (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.springframework.security:spring-security-core (Maven): upgrade to 4.2.3.RELEASE or later

  ```sh
  # set org.springframework.security:spring-security-core to 4.2.3.RELEASE in your pom.xml or build.gradle
  ```


## Affected products

- org.springframework.security:spring-security-core (Maven) ECOSYSTEM:introduced=4.2.0.RELEASE,fixed=4.2.3.RELEASE

## Identifiers

- CVE-2017-4995
- GHSA-vhrg-v3cv-p247

## Related threats

- [Spring Security Vulnerable to User Attribute Enumeration when Using DaoAuthenticationProvider](https://junglewise.ai/threats/cve-2026-22746-spring-security-vulnerable-to-user-attribute-enumeration-when)
- [Spring Spring Security TOCTOU race condition in JdbcOneTimeTokenService](https://junglewise.ai/threats/cve-2026-22751-spring-spring-security-toctou-race-condition-in)
- [Spring Security has a broken timing attack mitigation implemented in DaoAuthenticationProvide](https://junglewise.ai/threats/cve-2025-22234-spring-security-has-a-broken-timing-attack-mitigation-implemented)
- [Spring Security annotation detection mechanism has authorization bypass](https://junglewise.ai/threats/cve-2025-41248-spring-security-annotation-detection-mechanism-has-authorization)
- [Spring Security authorization bypass for method security annotations on private methods](https://junglewise.ai/threats/cve-2025-41232-spring-security-authorization-bypass-for-method-security)
