CVE-2017-2582 json
keycloak-core discloses system properties
published 2018-07-26 8 y ago modified 2026-06-17 4 mo ago also GHSA-c77r-6f64-478q , EUVD-2018-0568
- cvss
- 6.5
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.4%
- EPSS 2.4% chance of exploitation in 30 days, percentile 84%
- public exploits
- 0
- none known
Summary
It was found that while parsing the SAML messages the StaxParserUtil class of keycloak before 2.5.1 replaces special strings for obtaining attribute values with system property. This could allow an attacker to determine values of system properties at the attacked system by formatting the SAML request ID field to be the chosen system property which could be obtained in the "InResponseTo" field in the response.
Patch / fix
- maven org.keycloak:keycloak-core 2.5.1
- redhat keycloak 2.5.1
- hornetq jboss enterprise application platform 6 2.3.25-27.SP28_redhat_1.1.ep6.el7
- jbossweb jboss enterprise application platform 6 7.5.29-1.Final_redhat_1.1.ep6.el7
- jboss-vfs2 jboss enterprise application platform 6 3.2.13-1.Final_redhat_1.1.ep6.el7
- jboss-as-ee jboss enterprise application platform 6 7.5.21-1.Final_redhat_1.1.ep6.el7
- jboss-as-cli jboss enterprise application platform 6 7.5.21-1.Final_redhat_1.1.ep6.el7
- jboss-as-cmp jboss enterprise application platform 6 7.5.21-1.Final_redhat_1.1.ep6.el7
- jboss-as-jdr jboss enterprise application platform 6 7.5.21-1.Final_redhat_1.1.ep6.el7
- jboss-as-jmx jboss enterprise application platform 6 7.5.21-1.Final_redhat_1.1.ep6.el7
red hat advisories RHSA-2018:2741RHSA-2018:2743RHSA-2018:2742RHSA-2019:0137RHSA-2019:0136RHSA-2017:3219
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2017-2582 updated cvss 6.5
keycloak: SAML request parser replaces special strings with system properties
-
Red Hat JBoss Enterprise Application Platform 6 picketlink-idm-implaffected: no fix planned “Out of support scope”
-
Red Hat JBoss Portal 6 picketlink-impl, picketlink-idm-implaffected: no fix planned “Will not fix”
-
Red Hat JBoss EAP 7.0fixed: vendor fix RHSA-2017:2810
-
Red Hat JBoss EAP 7.2fixed: vendor fix RHSA-2019:0139
-
Red Hat JBoss EAP 7.2 for RHEL 6 Server eap7 1-13.el6eap, eap7-runtime 1-13.el6eap, eap7-ecj 4.6.1-3.redhat_1.1.el6eap, eap7-vdx 1.1.6-2.redhat_1.1.el6eap, eap7-avro 1.7.6-7.redhat_2.1.el6eap, eap7-gson 2.8.2-1.redhat_5.1.el6eap, +423 morefixed: vendor fix RHSA-2019:0136
-
Red Hat JBoss EAP 7.2 for RHEL 7 Server eap7 1-13.el7eap, eap7-runtime 1-13.el7eap, eap7-ecj 4.6.1-3.redhat_1.1.el7eap, eap7-vdx 1.1.6-2.redhat_1.1.el7eap, eap7-avro 1.7.6-7.redhat_2.1.el7eap, eap7-gson 2.8.2-1.redhat_5.1.el7eap, +423 morefixed: vendor fix RHSA-2019:0137
-
Red Hat JBoss Enterprise Application Platform 6.4fixed: vendor fix RHSA-2017:3220
-
Red Hat JBoss Enterprise Application Platform 6.4 for RHEL 5 Server hornetq 2.3.25-24.SP22_redhat_1.1.ep6.el5, hornetq 2.3.25-27.SP28_redhat_1.1.ep6.el5, jbossweb 7.5.26-1.Final_redhat_1.1.ep6.el5, jbossweb 7.5.29-1.Final_redhat_1.1.ep6.el5, resteasy 2.3.22-1.Final_redhat_1.1.ep6.el5, xerces-j2-eap6 2.9.1-19.redhat_8.1.ep6.el5, +153 morefixed: vendor fix RHSA-2018:2742
show 5 moreshow fewer
-
Red Hat JBoss Enterprise Application Platform 6.4 for RHEL 6 Server hornetq 2.3.25-24.SP22_redhat_1.1.ep6.el6, hornetq 2.3.25-27.SP28_redhat_1.1.ep6.el6, jbossweb 7.5.26-1.Final_redhat_1.1.ep6.el6, jbossweb 7.5.29-1.Final_redhat_1.1.ep6.el6, resteasy 2.3.22-1.Final_redhat_1.1.ep6.el6, xerces-j2-eap6 2.9.1-19.redhat_8.1.ep6.el6, +155 morefixed: vendor fix RHSA-2018:2743
-
Red Hat JBoss Enterprise Application Platform 6.4 for RHEL 7 Server hornetq 2.3.25-24.SP22_redhat_1.1.ep6.el7, hornetq 2.3.25-27.SP28_redhat_1.1.ep6.el7, jbossweb 7.5.26-1.Final_redhat_1.1.ep6.el7, jbossweb 7.5.29-1.Final_redhat_1.1.ep6.el7, resteasy 2.3.22-1.Final_redhat_1.1.ep6.el7, xerces-j2-eap6 2.9.1-19.redhat_8.1.ep6.el7, +153 morefixed: vendor fix RHSA-2018:2741
-
Red Hat JBoss Enterprise Application Platform 7.0 for RHEL 6 Server eap7-jasypt 1.9.2-2.redhat_1.1.ep7.el6, eap7-wildfly 7.0.8-4.GA_redhat_1.1.ep7.el6, eap7-artemis-native 1.1.0-13.redhat_4.ep7.el6, eap7-bouncycastle 1.56.0-3.redhat_2.2.ep7.el6, eap7-jboss-ec2-eap 7.0.8-1.GA_redhat_1.ep7.el6, eap7-undertow 1.3.31-1.Final_redhat_1.1.ep7.el6, +30 morefixed: vendor fix RHSA-2017:2809
-
Red Hat JBoss Enterprise Application Platform 7.0 for RHEL 7 Server eap7-jasypt 1.9.2-2.redhat_1.1.ep7.el7, eap7-wildfly 7.0.8-4.GA_redhat_1.1.ep7.el7, eap7-artemis-native 1.1.0-13.redhat_4.ep7.el7, eap7-bouncycastle 1.56.0-3.redhat_2.2.ep7.el7, eap7-jboss-ec2-eap 7.0.8-1.GA_redhat_1.ep7.el7, eap7-undertow 1.3.31-1.Final_redhat_1.1.ep7.el7, +30 morefixed: vendor fix RHSA-2017:2811
-
Red Hat BPM Suite 6 picketlink-idm-core picketlink-idm-core Red Hat JBoss BRMS 6 picketlink-idm-core picketlink-idm-core Red Hat JBoss Data Grid 6 picketlink-impl, picketlink-idm-impl Red Hat JBoss Enterprise Application Platform 7 picketlink-idm-impl Red Hat JBoss Fuse 6 switchyard switchyard Red Hat JBoss Operations Network 3 picketlink-impl, picketlink-idm-implnot affected: vulnerable code not present
+2 more productsfewer
Red Hat Mobile Application Platform 4 keycloak-core Red Hat Single Sign-On 7 picketlink-impl, keycloak-saml-core, picketlink-idm-impl, rh-sso7-keycloak rh-sso7-keycloak
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.43% chance of exploitation in the next 30 days, higher than 84% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 6.5 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | 3.0 | 6.5 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 4.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N |
| GitHub | 3.0 | 6.5 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.keycloak:keycloak-core | <2.5.1 |
2.5.1 |
Affected products
- Red Hat keycloak
Classification
References
-
github.com
/keycloak/keycloak/pull/3715/commits/0cb5ba0f6e83162d221681f47b470c3042eef237
patch, third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=CVE-2017-2582
issue-tracking, patch, vendor-advisory
-
access.redhat.com
/errata/RHSA-2017:3220
vendor-advisory
-
access.redhat.com
/errata/RHSA-2017:3216
vendor-advisory
-
access.redhat.com
/errata/RHSA-2017:2809
vendor-advisory
-
access.redhat.com
/errata/RHSA-2018:2740
vendor-advisory
-
access.redhat.com
/errata/RHSA-2017:3218
vendor-advisory
-
access.redhat.com
/errata/RHSA-2017:2810
vendor-advisory
-
access.redhat.com
/errata/RHSA-2018:2741
vendor-advisory
-
access.redhat.com
/errata/RHSA-2018:2742
vendor-advisory
-
access.redhat.com
/errata/RHSA-2017:2808
vendor-advisory
-
access.redhat.com
/errata/RHSA-2019:0137
vendor-advisory
-
access.redhat.com
/errata/RHSA-2017:3219
vendor-advisory
-
access.redhat.com
/errata/RHSA-2019:0139
vendor-advisory
-
access.redhat.com
/errata/RHSA-2019:0136
vendor-advisory
-
access.redhat.com
/errata/RHSA-2018:2743
vendor-advisory
-
access.redhat.com
/errata/RHSA-2017:3217
vendor-advisory
-
access.redhat.com
/errata/RHSA-2017:2811
vendor-advisory
-
securitytracker.com
/id/1041707
vdb-entry, third-party-advisory
-
securityfocus.com
/bid/101046
vdb-entry, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2017-2582
advisory
-
github.com
/advisories/GHSA-c77r-6f64-478q
advisory
Sources
- CVE List CVE-2017-2582
- GitHub Advisory GHSA-c77r-6f64-478q
- NVD CVE-2017-2582
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.