{"id":"CVE-2017-2646","aliases":["GHSA-jc6q-27mw-p55w"],"summary":"It was found that when Keycloak before 2.5.5 receives a Logout request with a Extensions in the middle of the request, the SAMLSloRequestParser.parse() method ends in a infinite loop.","published_at":"2017-03-10T00:00:00Z","modified_at":"2024-08-05T14:02:07.264Z","products":[{"slug":"keycloak","name":"Keycloak","category":"identity"}],"rating":{"severity":"high","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false,"red_hat":"Important","vendor_ratings":[{"source":"Red Hat","rating":"Important"}]},"fix_available":true,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.018300000578165054,"percentile":0.7940199971199036,"date":"2026-11-21T00:00:00Z"},"priority":9.5,"record_count":4,"vendors":["Red Hat","GitHub"],"details":"It was found that when Keycloak before 2.5.5 receives a Logout request with a Extensions in the middle of the request, the SAMLSloRequestParser.parse() method ends in a infinite loop. An attacker could use this flaw to conduct denial of service attacks.","affected_stack":[{"ecosystem":"CVE","package":"Red Hat/keycloak","versions":["2.5.5"],"provider":"cvelistv5","source":"CVE-2017-2646","relation":"self"},{"ecosystem":"Maven","package":"org.keycloak:keycloak-core","purl":"pkg:maven/org.keycloak/keycloak-core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.5"}]}],"versions":["1.0-alpha-1","1.0-alpha-1-12062013","1.0-alpha-2","1.0-alpha-3","1.0-alpha-4","1.0-beta-1","1.0-beta-1-20150521","1.0-beta-1-20150523","1.0-beta-2","1.0-beta-3","1.0-beta-4","1.0-final","1.0-rc-1","1.0-rc-2","1.0.1.Final","1.0.2.Final","1.0.3.Final","1.0.4.Final","1.0.5.Final","1.1.0.Beta1","1.1.0.Beta2","1.1.0.Final","1.1.1.Final","1.2.0.Beta1","1.2.0.CR1","1.2.0.Final","1.3.0.Final","1.3.1.Final","1.4.0.Final","1.5.0-Final","1.5.0.Final","1.5.1.Final","1.6.0.Final","1.6.1.Final","1.7.0.CR1","1.7.0.Final","1.8.0.Alpha1","1.8.0.CR1","1.8.0.CR2","1.8.0.CR3","1.8.0.Final","1.8.1.Final","1.9.0.CR1","1.9.0.Final","1.9.1.Final","1.9.2.Final","1.9.3.Final","1.9.4.Final","1.9.5.Final","1.9.7.Final","1.9.8.Final","2.0.0.CR1","2.0.0.Final","2.1.0.CR1","2.1.0.Final","2.2.0.CR1","2.2.0.Final","2.2.1.Final","2.3.0.CR1","2.3.0.Final","2.4.0.CR1","2.4.0.Final","2.5.0.CR1","2.5.0.Final","2.5.1.Final","2.5.4.Final"],"fixed":["2.5.5"],"provider":"osv","source":"GHSA-jc6q-27mw-p55w","relation":"self"},{"ecosystem":"NVD","package":"redhat:keycloak","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.5"}]}],"fixed":["2.5.5"],"provider":"nvd","source":"CVE-2017-2646","relation":"self"}],"affected_other":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat Single Sign-On 7","cpe":"cpe:/a:redhat:red_hat_single_sign_on:7","status":"not_affected","packages":["rh-sso7-keycloak"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2017-2646"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2017-2646","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2017-2646","license":"CC-BY-4.0","published_at":"2018-07-27T18:00:00Z","modified_at":"2024-08-05T14:02:07.264Z","summary":"It was found that when Keycloak before 2.5.5 receives a Logout request with a Extensions in the middle of the request, the SAMLSloRequestParser.parse() method ends in a infinite loop.","details":"It was found that when Keycloak before 2.5.5 receives a Logout request with a Extensions in the middle of the request, the SAMLSloRequestParser.parse() method ends in a infinite loop. An attacker could use this flaw to conduct denial of service attacks.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"CVE-2017-2646"}],"affected":[{"ecosystem":"CVE","package":"Red Hat/keycloak","versions":["2.5.5"],"provider":"cvelistv5","source":"CVE-2017-2646","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-2646"},{"type":"WEB","url":"http://www.securityfocus.com/bid/96882"}]},{"provider":"nvd","source_id":"CVE-2017-2646","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-2646","severity":[],"affected":[{"ecosystem":"NVD","package":"redhat:keycloak","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.5"}]}],"fixed":["2.5.5"],"provider":"nvd","source":"CVE-2017-2646","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"GHSA-jc6q-27mw-p55w","relation":"self","url":"https://osv.dev/vulnerability/GHSA-jc6q-27mw-p55w","license":"CC-BY-4.0","published_at":"2018-10-18T16:49:29Z","modified_at":"2023-11-08T03:59:19.487959Z","summary":"Keycloak vulnerable to infinite loop based Denial of Service","details":"When Keycloak versions prior to 2.5.5 receive a Logout request with an Extensions in the middle of the request, the SAMLSloRequestParser.parse() method ends in an infinite loop. An attacker could use this flaw to conduct denial of service attacks.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"GHSA-jc6q-27mw-p55w"}],"affected":[{"ecosystem":"Maven","package":"org.keycloak:keycloak-core","purl":"pkg:maven/org.keycloak/keycloak-core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.5"}]}],"versions":["1.0-alpha-1","1.0-alpha-1-12062013","1.0-alpha-2","1.0-alpha-3","1.0-alpha-4","1.0-beta-1","1.0-beta-1-20150521","1.0-beta-1-20150523","1.0-beta-2","1.0-beta-3","1.0-beta-4","1.0-final","1.0-rc-1","1.0-rc-2","1.0.1.Final","1.0.2.Final","1.0.3.Final","1.0.4.Final","1.0.5.Final","1.1.0.Beta1","1.1.0.Beta2","1.1.0.Final","1.1.1.Final","1.2.0.Beta1","1.2.0.CR1","1.2.0.Final","1.3.0.Final","1.3.1.Final","1.4.0.Final","1.5.0-Final","1.5.0.Final","1.5.1.Final","1.6.0.Final","1.6.1.Final","1.7.0.CR1","1.7.0.Final","1.8.0.Alpha1","1.8.0.CR1","1.8.0.CR2","1.8.0.CR3","1.8.0.Final","1.8.1.Final","1.9.0.CR1","1.9.0.Final","1.9.1.Final","1.9.2.Final","1.9.3.Final","1.9.4.Final","1.9.5.Final","1.9.7.Final","1.9.8.Final","2.0.0.CR1","2.0.0.Final","2.1.0.CR1","2.1.0.Final","2.2.0.CR1","2.2.0.Final","2.2.1.Final","2.3.0.CR1","2.3.0.Final","2.4.0.CR1","2.4.0.Final","2.5.0.CR1","2.5.0.Final","2.5.1.Final","2.5.4.Final"],"fixed":["2.5.5"],"provider":"osv","source":"GHSA-jc6q-27mw-p55w","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-2646"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-jc6q-27mw-p55w"},{"type":"PACKAGE","url":"https://github.com/keycloak/keycloak"}]},{"provider":"redhat-vex","source_id":"CVE-2017-2646","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2017-2646","license":"CC-BY-4.0","published_at":"2017-03-10T00:00:00Z","modified_at":"2019-09-29T14:08:14Z","summary":"keycloak: DoS via SAML request","details":"It was found that when Keycloak before 2.5.5 receives a Logout request with a Extensions in the middle of the request, the SAMLSloRequestParser.parse() method ends in a infinite loop. An attacker could use this flaw to conduct denial of service attacks.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"CVE-2017-2646"},{"type":"Red Hat","score":"Important","source":"CVE-2017-2646"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat Single Sign-On 7","cpe":"cpe:/a:redhat:red_hat_single_sign_on:7","status":"not_affected","packages":["rh-sso7-keycloak"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2017-2646"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2017/cve-2017-2646.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2017-2646"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1431230"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2017-2646"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-2646"}]}],"references":[{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-2646"},{"type":"WEB","url":"http://www.securityfocus.com/bid/96882"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-2646"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-jc6q-27mw-p55w"},{"type":"PACKAGE","url":"https://github.com/keycloak/keycloak"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2017/cve-2017-2646.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2017-2646"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1431230"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2017-2646"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2017-2646","url":"https://www.cve.org/CVERecord?id=CVE-2017-2646","license":"CC-BY-4.0","modified_at":"2024-08-05T14:02:07.264Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2017-2646","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-2646","relation":"self"},{"provider":"osv","source_id":"GHSA-jc6q-27mw-p55w","url":"https://osv.dev/vulnerability/GHSA-jc6q-27mw-p55w","license":"CC-BY-4.0","modified_at":"2023-11-08T03:59:19.487959Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2017-2646","url":"https://access.redhat.com/security/cve/CVE-2017-2646","license":"CC-BY-4.0","modified_at":"2019-09-29T14:08:14Z","relation":"self"}]}
