{"schemaVersion":3,"id":"CVE-2016-4977","aliases":["GHSA-7q9c-h23x-65fq"],"status":"published","duplicateOf":null,"title":null,"description":"When processing authorization requests using the whitelabel views in Spring Security OAuth 2.0.0 to 2.0.9 and 1.0.0 to 1.0.5, the response_type parameter value was executed as Spring SpEL which enabled a malicious user to trigger remote code execution via the crafting of the value for response_type.","dates":{"published":"2017-05-25T17:00:00.000Z","modified":"2024-08-06T00:46:39.945Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:L/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.5,"severity":"medium","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Maven","score":8.8,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true}]},"epss":{"probability":0.79176,"percentile":0.99598,"severity":"critical","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.79176},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.79176,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.79176,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.79176,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.79176,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.79176,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.79176,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.79176,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.71757,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.79176,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.79176,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.79176,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.79176,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.79176,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.79176,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.79176,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.79176,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.79176,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.79176,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.79176,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.79176,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.79176,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.79176,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.79176,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.79176,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.79176,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.79176,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.79176,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.79176,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.79176,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.79176,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.79176,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.79176,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.79176,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.79176,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.79176,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.79176,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.79176,"percentile":0.99598}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.79176,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.71757,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.79176,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.79176,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.79176,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.79176,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.79176,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.79176,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.79176,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.79176,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.79176,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.79176,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.79176,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.79176,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.79176,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.79176,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.79176,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.79176,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.79176,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.79176,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.79176,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.79176,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.79176,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.79176,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.79176,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.79176,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.79176,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.79176,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.79176,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.79176,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.79176,"percentile":0.99598}]},"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-19","name":"Data Processing Errors","description":"Weaknesses in this category are typically found in functionality that processes data. Data processing is the manipulation of input to retrieve or save information.","type":"category","status":"Draft","abstraction":null,"likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/19.html"}],"affected":[{"vendor":"org.springframework.security.oauth","product":"spring-security-oauth2","name":"org.springframework.security.oauth:spring-security-oauth2","label":"spring-security-oauth2","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.springframework.security.oauth/spring-security-oauth2","purlType":"maven","versions":[{"text":"≥ 2.0.0, < 2.0.10","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.0.0, < 1.0.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.0.0, < 2.0.10 | ≥ 1.0.0, < 1.0.5","eol":null,"hubHref":null},{"vendor":"pivotal","product":"spring_security_oauth","name":"spring security oauth","label":"spring_security_oauth","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"2.0.0 to 2.0.9","noFixRecorded":false,"fixedIn":null},{"text":"1.0.0 to 1.0.5","noFixRecorded":false,"fixedIn":null},{"text":"1.0.0","noFixRecorded":false,"fixedIn":null},{"text":"1.0.1","noFixRecorded":false,"fixedIn":null},{"text":"1.0.2","noFixRecorded":false,"fixedIn":null},{"text":"1.0.3","noFixRecorded":false,"fixedIn":null},{"text":"1.0.4","noFixRecorded":false,"fixedIn":null},{"text":"1.0.5","noFixRecorded":false,"fixedIn":null},{"text":"2.0.0","noFixRecorded":false,"fixedIn":null},{"text":"2.0.1","noFixRecorded":false,"fixedIn":null},{"text":"2.0.2","noFixRecorded":false,"fixedIn":null},{"text":"2.0.3","noFixRecorded":false,"fixedIn":null},{"text":"2.0.4","noFixRecorded":false,"fixedIn":null},{"text":"2.0.5","noFixRecorded":false,"fixedIn":null},{"text":"2.0.6","noFixRecorded":false,"fixedIn":null},{"text":"2.0.7","noFixRecorded":false,"fixedIn":null},{"text":"2.0.8","noFixRecorded":false,"fixedIn":null},{"text":"2.0.9","noFixRecorded":false,"fixedIn":null}],"versionsText":"2.0.0 to 2.0.9 | 1.0.0 to 1.0.5 | 1.0.0 | 1.0.1 | 1.0.2 | 1.0.3 | 1.0.4 | 1.0.5 | 2.0.0 | 2.0.1 | 2.0.2 | 2.0.3 | 2.0.4 | 2.0.5 | 2.0.6 | 2.0.7 | 2.0.8 | 2.0.9","eol":null,"hubHref":"/vendor/pivotal/spring_security_oauth"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://pivotal.io/security/cve-2016-4977","label":"pivotal.io/security/cve-2016-4977","hostname":"pivotal.io","tags":["X Refsource CONFIRM","Vendor Advisory","WEB"]},{"url":"https://lists.apache.org/thread.html/37d7e820fc65a768de3e096e98382d5529a52a039f093e59357d0bc0%40%3Cdev.fineract.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/0841d849c23418c473ccb9183cbf41a317cb0476e44be48022ce3488%40%3Cdev.fineract.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["Mailing List","X Refsource MLIST"]},{"url":"http://www.openwall.com/lists/oss-security/2019/10/16/1","label":"www.openwall.com/lists/oss-security/2019/10/16/1","hostname":"www.openwall.com","tags":["Mailing List","X Refsource MLIST","WEB"]},{"url":"https://lists.apache.org/thread.html/5e6dd946635bbcc9e1f2591599ad0fab54f2dc3714196af3b17893f2%40%3Cannounce.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/96c017115069408cec5e82ce1e6293facab398011f6db7e1befbe274%40%3Cdev.fineract.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-2016-4977","label":"nvd.nist.gov/vuln/detail/CVE-2016-4977","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/advisories/GHSA-7q9c-h23x-65fq","label":"github.com/advisories/GHSA-7q9c-h23x-65fq","hostname":"github.com","tags":["Advisory"]},{"url":"https://lists.apache.org/thread.html/0841d849c23418c473ccb9183cbf41a317cb0476e44be48022ce3488@%3Cdev.fineract.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["WEB"]},{"url":"https://lists.apache.org/thread.html/37d7e820fc65a768de3e096e98382d5529a52a039f093e59357d0bc0@%3Cdev.fineract.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["WEB"]},{"url":"https://lists.apache.org/thread.html/5e6dd946635bbcc9e1f2591599ad0fab54f2dc3714196af3b17893f2@%3Cannounce.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["WEB"]},{"url":"https://lists.apache.org/thread.html/96c017115069408cec5e82ce1e6293facab398011f6db7e1befbe274@%3Cdev.fineract.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-05-25T17:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-06T00:46:39.945Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":51,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T01:45:29.863Z","stale":false,"partial":false}}