Security: Deserialization of untrusted data via Jackson
Published Nov 27, 2017
8.1
HIGHCVSS 3.1
EPSS 2.55%
Description
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.
Affected products
No data.
- 4.2.0
- 4.2.1
- 4.2.2
- 5.0.0
No data.
Red Hat JBoss Fuse 6
camel
Not affected
Red Hat OpenStack Platform 10 (Newton)
opendaylight
Out of support scope
Red Hat OpenStack Platform 13 (Queens)
opendaylight
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat JBoss Fuse 6 | camel | Not affected | n/a |
| Red Hat OpenStack Platform 10 (Newton) | opendaylight | Out of support scope | n/a |
| Red Hat OpenStack Platform 13 (Queens) | opendaylight | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
AV:N/AC:M/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (18 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 2.55% (0.02547) | 84.45th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.55% (0.02547) | 82.92th | v5 (v2026.06.15) |
| Mar 30, 2025 | 0.91% (0.00906) | 73.65th | v4 (v2025.03.14) |
| Mar 29, 2025 | 4.04% (0.04045) | 80.54th | v4 (v2025.03.14) |
| Mar 17, 2025 | 0.91% (0.00906) | 74.14th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.48% (0.00480) | 76.66th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.48% (0.00480) | 75.13th | v3 (v2023.03.01) |
| Nov 8, 2023 | 0.48% (0.00480) | 73.08th | v3 (v2023.03.01) |
| Apr 20, 2023 | 0.34% (0.00342) | 67.13th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.33% (0.00330) | 66.40th | v3 (v2023.03.01) |
| Mar 6, 2023 | 34.45% (0.34454) | 97.71th | v2 (v2022.01.01) |
| Aug 24, 2022 | 34.45% (0.34454) | 97.62th | v2 (v2022.01.01) |
| Feb 4, 2022 | 36.95% (0.36952) | 97.06th | v2 (v2022.01.01) |
| Feb 3, 2022 | 9.08% (0.09079) | 86.51th | v1 |
| Jan 6, 2022 | 9.08% (0.09079) | 86.35th | v1 |
| Sep 28, 2021 | 9.08% (0.09079) | 93.78th | v1 |
| Sep 1, 2021 | 6.22% (0.06225) | 89.92th | v1 |
| Apr 14, 2021 | 6.22% (0.06225) | 0.00th | v1 |
References (17)
- http://www.securityfocus.com/bid/99080 vdb-entryx_refsource_BIDBroken Link
- https://access.redhat.com/security/cve/CVE-2017-4995 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1499182 Issue Tracking
- https://github.com/FasterXML/jackson-databind/commit/60d459cedcf079c6106ae7da2ac562bc32dcabe1
- https://github.com/FasterXML/jackson-databind/commit/6ce32ffd18facac6abdbbf559c817b47fcb622c
- https://github.com/FasterXML/jackson-databind/issues/1599
- https://github.com/advisories/GHSA-vhrg-v3cv-p247 Advisory
- https://github.com/spring-projects/spring-security/issues/4370
- https://lists.apache.org/thread.html/4641ed8616ccc2c1fbddac2c3dc9900c96387bc226eaf0232d61909b%40%3Ccommits.cassandra.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/4641ed8616ccc2c1fbddac2c3dc9900c96387bc226eaf0232d61909b@%3Ccommits.cassandra.apache.org%3E
- https://lists.apache.org/thread.html/r42ac3e39e6265db12d9fc6ae1cd4b5fea7aed9830dc6f6d58228fed7%40%3Ccommits.cassandra.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/r42ac3e39e6265db12d9fc6ae1cd4b5fea7aed9830dc6f6d58228fed7@%3Ccommits.cassandra.apache.org%3E
- https://lists.apache.org/thread.html/rf7f87810c38dc9abf9f93989f76008f504cbf7c1a355214640b2d04c%40%3Ccommits.cassandra.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/rf7f87810c38dc9abf9f93989f76008f504cbf7c1a355214640b2d04c@%3Ccommits.cassandra.apache.org%3E
- https://nvd.nist.gov/vuln/detail/CVE-2017-4995
- https://pivotal.io/security/cve-2017-4995 x_refsource_CONFIRMIssue TrackingVendor Advisory
- https://www.cve.org/CVERecord?id=CVE-2017-4995
Change history (0)
No recorded changes yet.