{"id":"CVE-2016-4977","details":"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.","aliases":["GHSA-7q9c-h23x-65fq"],"modified":"2026-08-27T08:18:19.255255Z","published":"2017-05-25T17:29:00.707Z","references":[{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2019/10/16/1"},{"type":"WEB","url":"https://lists.apache.org/thread.html/0841d849c23418c473ccb9183cbf41a317cb0476e44be48022ce3488%40%3Cdev.fineract.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/37d7e820fc65a768de3e096e98382d5529a52a039f093e59357d0bc0%40%3Cdev.fineract.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/5e6dd946635bbcc9e1f2591599ad0fab54f2dc3714196af3b17893f2%40%3Cannounce.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/96c017115069408cec5e82ce1e6293facab398011f6db7e1befbe274%40%3Cdev.fineract.apache.org%3E"},{"type":"ADVISORY","url":"https://pivotal.io/security/cve-2016-4977"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/spring-attic/spring-security-oauth","events":[{"introduced":"2d6640db09f3c3b7612ec3bf08e7ff8ff2b90cc7"},{"last_affected":"8c9e8ec70eb50542ed86fd4e1d110137e6e8e96b"}],"database_specific":{"cpe":["cpe:2.3:a:pivotal:spring_security_oauth:1.0.0:*:*:*:*:*:*:*","cpe:2.3:a:pivotal:spring_security_oauth:1.0.1:*:*:*:*:*:*:*","cpe:2.3:a:pivotal:spring_security_oauth:1.0.2:*:*:*:*:*:*:*","cpe:2.3:a:pivotal:spring_security_oauth:1.0.3:*:*:*:*:*:*:*","cpe:2.3:a:pivotal:spring_security_oauth:1.0.4:*:*:*:*:*:*:*","cpe:2.3:a:pivotal:spring_security_oauth:1.0.5:*:*:*:*:*:*:*","cpe:2.3:a:pivotal:spring_security_oauth:2.0.0:*:*:*:*:*:*:*","cpe:2.3:a:pivotal:spring_security_oauth:2.0.1:*:*:*:*:*:*:*","cpe:2.3:a:pivotal:spring_security_oauth:2.0.2:*:*:*:*:*:*:*","cpe:2.3:a:pivotal:spring_security_oauth:2.0.3:*:*:*:*:*:*:*","cpe:2.3:a:pivotal:spring_security_oauth:2.0.4:*:*:*:*:*:*:*","cpe:2.3:a:pivotal:spring_security_oauth:2.0.5:*:*:*:*:*:*:*","cpe:2.3:a:pivotal:spring_security_oauth:2.0.6:*:*:*:*:*:*:*","cpe:2.3:a:pivotal:spring_security_oauth:2.0.7:*:*:*:*:*:*:*","cpe:2.3:a:pivotal:spring_security_oauth:2.0.8:*:*:*:*:*:*:*","cpe:2.3:a:pivotal:spring_security_oauth:2.0.9:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"1.0.0"},{"last_affected":"1.0.0"},{"introduced":"1.0.1"},{"last_affected":"1.0.1"},{"introduced":"1.0.2"},{"last_affected":"1.0.2"},{"introduced":"1.0.3"},{"last_affected":"1.0.3"},{"introduced":"1.0.4"},{"last_affected":"1.0.4"},{"introduced":"1.0.5"},{"last_affected":"1.0.5"},{"introduced":"2.0.0"},{"last_affected":"2.0.0"},{"introduced":"2.0.1"},{"last_affected":"2.0.1"},{"introduced":"2.0.2"},{"last_affected":"2.0.2"},{"introduced":"2.0.3"},{"last_affected":"2.0.3"},{"introduced":"2.0.4"},{"last_affected":"2.0.4"},{"introduced":"2.0.5"},{"last_affected":"2.0.5"},{"introduced":"2.0.6"},{"last_affected":"2.0.6"},{"introduced":"2.0.7"},{"last_affected":"2.0.7"},{"introduced":"2.0.8"},{"last_affected":"2.0.8"},{"introduced":"2.0.9"},{"last_affected":"2.0.9"}],"source":"CPE_STRING"}}],"versions":["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"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-4977.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}