CVE-2017-4995

Published on: 11/27/2017 12:00:00 AM UTC

Last Modified on: 09/27/2021 06:15:00 PM UTC

CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Certain versions of Spring Security from Pivotal Software contain the following vulnerability:

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.

  • CVE-2017-4995 has been assigned by URL Logo [email protected] to track the vulnerability - currently rated as HIGH severity.

CVSS3 Score: 8.1 - HIGH

Attack
Vector
Attack
Complexity
Privileges
Required
User
Interaction
NETWORK HIGH NONE NONE
Scope Confidentiality
Impact
Integrity
Impact
Availability
Impact
UNCHANGED HIGH HIGH HIGH

CVSS2 Score: 6.8 - MEDIUM

Access
Vector
Access
Complexity
Authentication
NETWORK MEDIUM NONE
Confidentiality
Impact
Integrity
Impact
Availability
Impact
PARTIAL PARTIAL PARTIAL

CVE References

Description Tags Link
Pivotal Spring Security Deserialization CVE-2017-4995 Remote Code Execution Vulnerability Third Party Advisory
VDB Entry
cve.report (archive)
text/html
URL Logo BID 99080
Pony Mail! lists.apache.org
text/html
URL Logo MLIST [cassandra-commits] 20210927 [jira] [Commented] (CASSANDRA-15416) CVE-2017-7525 ( jackson-databind is vulnerable to Remote Code Execution) on version 3.11.4
Pony Mail! lists.apache.org
text/html
URL Logo MLIST [cassandra-commits] 20191113 [jira] [Created] (CASSANDRA-15416) CVE-2017-7525 ( jackson-databind is vulnerable to Remote Code Execution) on version 3.11.4
Pony Mail! lists.apache.org
text/html
URL Logo MLIST [cassandra-commits] 20210927 [jira] [Updated] (CASSANDRA-15416) CVE-2017-7525 ( jackson-databind is vulnerable to Remote Code Execution) on version 3.11.4
CVE-2017-4995: Jackson Configuration Allows Code Execution with Unknown “Serialization Gadgets” | Security | Pivotal Issue Tracking
Vendor Advisory
web.archive.org
text/html
Inactive LinkNot Archived
URL Logo CONFIRM pivotal.io/security/cve-2017-4995

Known Affected Configurations (CPE V2.3)

Type Vendor Product Version Update Edition Language
ApplicationPivotal SoftwareSpring Security4.2.0releaseAllAll
ApplicationPivotal SoftwareSpring Security4.2.1releaseAllAll
ApplicationPivotal SoftwareSpring Security4.2.2releaseAllAll
ApplicationPivotal SoftwareSpring Security5.0.0m1AllAll
ApplicationPivotal SoftwareSpring Security4.2.0releaseAllAll
ApplicationPivotal SoftwareSpring Security4.2.1releaseAllAll
ApplicationPivotal SoftwareSpring Security4.2.2releaseAllAll
ApplicationPivotal SoftwareSpring Security5.0.0m1AllAll
ApplicationVmwareSpring Security4.2.0releaseAllAll
ApplicationVmwareSpring Security4.2.1releaseAllAll
ApplicationVmwareSpring Security4.2.2releaseAllAll
ApplicationVmwareSpring Security5.0.0m1AllAll
  • cpe:2.3:a:pivotal_software:spring_security:4.2.0:release:*:*:*:*:*:*:
  • cpe:2.3:a:pivotal_software:spring_security:4.2.1:release:*:*:*:*:*:*:
  • cpe:2.3:a:pivotal_software:spring_security:4.2.2:release:*:*:*:*:*:*:
  • cpe:2.3:a:pivotal_software:spring_security:5.0.0:m1:*:*:*:*:*:*:
  • cpe:2.3:a:pivotal_software:spring_security:4.2.0:release:*:*:*:*:*:*:
  • cpe:2.3:a:pivotal_software:spring_security:4.2.1:release:*:*:*:*:*:*:
  • cpe:2.3:a:pivotal_software:spring_security:4.2.2:release:*:*:*:*:*:*:
  • cpe:2.3:a:pivotal_software:spring_security:5.0.0:m1:*:*:*:*:*:*:
  • cpe:2.3:a:vmware:spring_security:4.2.0:release:*:*:*:*:*:*:
  • cpe:2.3:a:vmware:spring_security:4.2.1:release:*:*:*:*:*:*:
  • cpe:2.3:a:vmware:spring_security:4.2.2:release:*:*:*:*:*:*:
  • cpe:2.3:a:vmware:spring_security:5.0.0:m1:*:*:*:*:*:*:
© CVE.report 2022 Twitter Nitter Twitter Viewer |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report