CVE-2017-4995
CVSS V2 Medium 6.8
CVSS V3 High 8.1
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.
Overview
- CVE ID
- CVE-2017-4995
- Assigner
- security_alert@emc.com
- Vulnerability Status
- Analyzed
- Published Version
- 2017-11-27T10:29:00
- Last Modified Date
- 2022-04-18T17:54:09
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:vmware:spring_security:4.2.0:release:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:vmware:spring_security:4.2.1:release:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:vmware:spring_security:4.2.2:release:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:vmware:spring_security:5.0.0:m1:*:*:*:*:*:* | 1 | OR |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:M/Au:N/C:P/I:P/A:P
- Access Vector
- NETWORK
- Access Compatibility
- MEDIUM
- Authentication
- NONE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- PARTIAL
- Availability Impact
- PARTIAL
- Base Score
- 6.8
- Severity
- MEDIUM
- Exploitability Score
- 8.6
- Impact Score
- 6.4
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack Vector
- NETWORK
- Attack Compatibility
- HIGH
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- HIGH
- Base Score
- 8.1
- Base Severity
- HIGH
- Exploitability Score
- 2.2
- Impact Score
- 5.9
References
Reference URL | Reference Tags |
---|---|
https://pivotal.io/security/cve-2017-4995 | Issue Tracking Vendor Advisory |
http://www.securityfocus.com/bid/99080 | Broken Link |
https://lists.apache.org/thread.html/4641ed8616ccc2c1fbddac2c3dc9900c96387bc226eaf0232d61909b@%3Ccommits.cassandra.apache.org%3E | Mailing List Third Party Advisory |
https://lists.apache.org/thread.html/rf7f87810c38dc9abf9f93989f76008f504cbf7c1a355214640b2d04c@%3Ccommits.cassandra.apache.org%3E | Mailing List Third Party Advisory |
https://lists.apache.org/thread.html/r42ac3e39e6265db12d9fc6ae1cd4b5fea7aed9830dc6f6d58228fed7@%3Ccommits.cassandra.apache.org%3E | Mailing List Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2017-4995 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-4995 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 15:41:50 | Added to TrackCVE | |||
2022-12-02 23:28:00 | secure@dell.com | security_alert@emc.com | CVE Assigner | updated |
2022-12-02 23:28:00 | 2017-11-27T10:29Z | 2017-11-27T10:29:00 | CVE Published Date | updated |
2022-12-02 23:28:00 | 2022-04-18T17:54:09 | CVE Modified Date | updated | |
2022-12-02 23:28:00 | Analyzed | Vulnerability Status | updated |