{"schemaVersion":4,"id":"CVE-2017-4995","aliases":["GHSA-vhrg-v3cv-p247"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2017-11-27T10:00:00.000Z","modified":"2024-08-05T14:47:43.693Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.1,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.8,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Maven","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":5.6,"impact":9.8,"computed":true}]},"epss":{"probability":0.02547,"percentile":0.85541,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.02547},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.02547,"percentile":0.85541}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.02547,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.02547,"percentile":0.85541}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-502","name":"Deserialization of Untrusted Data","description":"The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/502.html"}],"affected":[{"vendor":"org.springframework.security","product":"spring-security-core","name":"org.springframework.security:spring-security-core","label":"spring-security-core","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.springframework.security/spring-security-core","purlType":"maven","versions":[{"text":"≥ 4.2.0.RELEASE, < 4.2.3.RELEASE","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"4.2.0.RELEASE","startInclusive":true,"end":"4.2.3.RELEASE","endInclusive":false}},{"text":"≥ 5.0.0.M1, < 5.0.0.M2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"5.0.0.M1","startInclusive":true,"end":"5.0.0.M2","endInclusive":false}}],"versionsText":"≥ 4.2.0.RELEASE, < 4.2.3.RELEASE | ≥ 5.0.0.M1, < 5.0.0.M2","eol":{"isEol":null,"eolDate":null,"matchMethod":"purl","cycle":null,"product":{"name":"spring-security","label":"Spring Security","category":"framework"}},"hubHref":null},{"vendor":"vmware","product":"spring_security","name":"spring security","label":"spring_security","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"4.2.0:release","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"4.2.0:release"}},{"text":"4.2.1:release","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"4.2.1:release"}},{"text":"4.2.2:release","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"4.2.2:release"}},{"text":"5.0.0:m1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"5.0.0:m1"}}],"versionsText":"4.2.0:release | 4.2.1:release | 4.2.2:release | 5.0.0:m1","eol":null,"hubHref":"/vendor/vmware/spring_security"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://pivotal.io/security/cve-2017-4995","label":"pivotal.io/security/cve-2017-4995","hostname":"pivotal.io","tags":["X Refsource CONFIRM","Issue Tracking","Vendor Advisory","WEB"]},{"url":"http://www.securityfocus.com/bid/99080","label":"www.securityfocus.com/bid/99080","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID","Broken Link"]},{"url":"https://lists.apache.org/thread.html/4641ed8616ccc2c1fbddac2c3dc9900c96387bc226eaf0232d61909b%40%3Ccommits.cassandra.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["Mailing List","X Refsource MLIST"]},{"url":"https://lists.apache.org/thread.html/rf7f87810c38dc9abf9f93989f76008f504cbf7c1a355214640b2d04c%40%3Ccommits.cassandra.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["Mailing List","X Refsource MLIST"]},{"url":"https://lists.apache.org/thread.html/r42ac3e39e6265db12d9fc6ae1cd4b5fea7aed9830dc6f6d58228fed7%40%3Ccommits.cassandra.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["Mailing List","X Refsource MLIST"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-4995","label":"nvd.nist.gov/vuln/detail/CVE-2017-4995","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/FasterXML/jackson-databind/issues/1599","label":"github.com/FasterXML/jackson-databind/issues/1599","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/spring-projects/spring-security/issues/4370","label":"github.com/spring-projects/spring-security/issues/4370","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/FasterXML/jackson-databind/commit/60d459cedcf079c6106ae7da2ac562bc32dcabe1","label":"github.com/FasterXML/jackson-databind/commit/60d459cedcf079c6106ae7da2ac562bc32dcabe1","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/FasterXML/jackson-databind/commit/6ce32ffd18facac6abdbbf559c817b47fcb622c","label":"github.com/FasterXML/jackson-databind/commit/6ce32ffd18facac6abdbbf559c817b47fcb622c","hostname":"github.com","tags":["WEB"]},{"url":"https://lists.apache.org/thread.html/4641ed8616ccc2c1fbddac2c3dc9900c96387bc226eaf0232d61909b@%3Ccommits.cassandra.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["WEB"]},{"url":"https://lists.apache.org/thread.html/r42ac3e39e6265db12d9fc6ae1cd4b5fea7aed9830dc6f6d58228fed7@%3Ccommits.cassandra.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["WEB"]},{"url":"https://lists.apache.org/thread.html/rf7f87810c38dc9abf9f93989f76008f504cbf7c1a355214640b2d04c@%3Ccommits.cassandra.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2017-11-27T10:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T14:47:43.693Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"prioritise","tag":"severe","reason":"Severe, CVSS 8.1 (NVD); no exploitation reported by the 5 checked sources; EPSS 3% (FIRST, 04-12-2026)","nextStep":"Check applicability and the vendor advisory: no fix release is recorded here","rank":[0,0,0,0,3,81],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.02547,"stale":false,"promoted":null},{"type":"cvss","source":"nvd","date":"2024-08-05T14:47:43.693Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1","headline":true},{"type":"cvss","source":"nvd","date":"2024-08-05T14:47:43.693Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","version":"2.0"},{"type":"cvss","source":"osv_maven","date":"2024-08-05T14:47:43.693Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}],"epss":{"value":0.02547,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T07:02:00.704Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T07:02:01.187Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T07:02:01.389Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T07:01:05.155Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T07:01:59.185Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T07:01:58.234Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T07:43:10.025Z","stale":false,"partial":false}}