Information disclosure in Red Hat keycloak
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Partial Red Hat: 10 fixed, 2 without a fix
Attack profile from CVSS 3.0 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-201.
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Red Hat | keycloak | 2.5.1 | — | No fix listed | CNA |
| — | org.keycloak:keycloak-core (Maven) | before 2.5.1 | 2.5.1 | Patch available | GHSA-c77r-6f64-478q |
- keycloak VendorRed Hat Affected 2.5.1 Fixed in — No fix listed CNA
- org.keycloak:keycloak-core (Maven) Vendor— Affected before 2.5.1 Fixed in 2.5.1 Patch available GHSA-c77r-6f64-478q
CPE configurations NVD · 8
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:redhat:keycloak:*:*:*:*:*:*:*:* | before 2.5.1 | Vulnerable | Red Hat |
| cpe:2.3:a:redhat:jboss_enterprise_application_platform:6.0.0:*:*:*:*:*:*:* | 6.0.0 | Vulnerable | Red Hat |
| cpe:2.3:a:redhat:jboss_enterprise_application_platform:6.4.0:*:*:*:*:*:*:* | 6.4.0 | Vulnerable | Red Hat |
| cpe:2.3:a:redhat:jboss_enterprise_application_platform:7.0.0:*:*:*:*:*:*:* | 7.0.0 | Vulnerable | Red Hat |
| cpe:2.3:a:redhat:jboss_enterprise_application_platform:7.1.0:*:*:*:*:*:*:* | 7.1.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux:5.0:*:*:*:*:*:*:* | 5.0 | Running on | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:* | 6.0 | Running on | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* | 7.0 | Running on | Red Hat |
- cpe:2.3:a:redhat:keycloak:*:*:*:*:*:*:*:* Versions before 2.5.1 Vulnerable ·Red Hat
- cpe:2.3:a:redhat:jboss_enterprise_application_platform:6.0.0:*:*:*:*:*:*:* Versions 6.0.0 Vulnerable ·Red Hat
- cpe:2.3:a:redhat:jboss_enterprise_application_platform:6.4.0:*:*:*:*:*:*:* Versions 6.4.0 Vulnerable ·Red Hat
- cpe:2.3:a:redhat:jboss_enterprise_application_platform:7.0.0:*:*:*:*:*:*:* Versions 7.0.0 Vulnerable ·Red Hat
- cpe:2.3:a:redhat:jboss_enterprise_application_platform:7.1.0:*:*:*:*:*:*:* Versions 7.1.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux:5.0:*:*:*:*:*:*:* Versions 5.0 Running on ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:* Versions 6.0 Running on ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* Versions 7.0 Running on ·Red Hat
Remediation
- Fix · GHSA-c77r-6f64-478q org.keycloak:keycloak-core (Maven) Fixed in 2.5.1 Advisory →
Red Hat 16 advisories
- RHSA-2019:0136 Released 2019-01-22 · Red Hat rating ModerateRed Hat JBoss Enterprise Application Platform 7.2.0 security update
- Red Hat JBoss EAP 7.2 for RHEL 6 Server eap7-1-13.el6eap, eap7-FastInfoset-1.2.13-10.redhat_1.1.el6eap, eap7-activemq-artemis-2.6.3-3.redhat_00014.1.el6eap +47
- RHSA-2019:0137 Released 2019-01-22 · Red Hat rating ModerateRed Hat JBoss Enterprise Application Platform 7.2.0 security update
- Red Hat JBoss EAP 7.2 for RHEL 7 Server eap7-1-13.el7eap, eap7-FastInfoset-1.2.13-10.redhat_1.1.el7eap, eap7-activemq-artemis-2.6.3-3.redhat_00014.1.el7eap +47
- RHSA-2019:0139 Released 2019-01-22 · Red Hat rating ModerateRed Hat JBoss Enterprise Application Platform 7.2.0 security update
- Red Hat JBoss EAP 7.2
Show 13 more Red Hat advisories
- RHSA-2018:2743 Released 2018-09-24 · Red Hat rating ImportantRed Hat JBoss Enterprise Application Platform 6.4.21 security update
- Red Hat JBoss Enterprise Application Platform 6.4 for RHEL 6 Server codehaus-jackson-1.9.9-14.redhat_7.1.ep6.el6, codehaus-jackson-core-asl-1.9.9-14.redhat_7.1.ep6.el6, codehaus-jackson-jaxrs-1.9.9-14.redhat_7.1.ep6.el6 +47
- RHSA-2018:2742 Released 2018-09-24 · Red Hat rating ImportantRed Hat JBoss Enterprise Application Platform 6.4.21 security update
- Red Hat JBoss Enterprise Application Platform 6.4 for RHEL 5 Server codehaus-jackson-1.9.9-14.redhat_7.1.ep6.el5, codehaus-jackson-core-asl-1.9.9-14.redhat_7.1.ep6.el5, codehaus-jackson-jaxrs-1.9.9-14.redhat_7.1.ep6.el5 +47
- RHSA-2018:2741 Released 2018-09-24 · Red Hat rating ImportantRed Hat JBoss Enterprise Application Platform 6.4.21 security update
- Red Hat JBoss Enterprise Application Platform 6.4 for RHEL 7 Server codehaus-jackson-1.9.9-14.redhat_7.1.ep6.el7, codehaus-jackson-core-asl-1.9.9-14.redhat_7.1.ep6.el7, codehaus-jackson-jaxrs-1.9.9-14.redhat_7.1.ep6.el7 +47
- RHSA-2018:2740 Released 2018-09-24 · Red Hat rating ImportantRed Hat JBoss Enterprise Application Platform 6.4.21 security update
- Red Hat JBoss Enterprise Application Platform 6.4
- RHSA-2017:3219 Released 2017-11-14 · Red Hat rating Moderatejboss-ec2-eap security, bug fix, and enhancement update for EAP 6.4.18
- Red Hat JBoss Enterprise Application Platform 6.4 for RHEL 6 Server jboss-ec2-eap-7.5.18-1.Final_redhat_1.ep6.el6, jboss-ec2-eap-samples-7.5.18-1.Final_redhat_1.ep6.el6
- RHSA-2017:3220 Released 2017-11-14 · Red Hat rating ModerateRed Hat JBoss Enterprise Application Platform 6.4.18 security update
- Red Hat JBoss Enterprise Application Platform 6.4
- RHSA-2017:3216 Released 2017-11-14 · Red Hat rating ModerateRed Hat JBoss Enterprise Application Platform 6.4.18 security update
- Red Hat JBoss Enterprise Application Platform 6.4 for RHEL 5 Server hornetq-2.3.25-24.SP22_redhat_1.1.ep6.el5, jboss-as-appclient-7.5.18-1.Final_redhat_1.1.ep6.el5, jboss-as-cli-7.5.18-1.Final_redhat_1.1.ep6.el5 +47
- RHSA-2017:3217 Released 2017-11-14 · Red Hat rating ModerateRed Hat JBoss Enterprise Application Platform 6.4.18 security update
- Red Hat JBoss Enterprise Application Platform 6.4 for RHEL 6 Server hornetq-2.3.25-24.SP22_redhat_1.1.ep6.el6, jboss-as-appclient-7.5.18-1.Final_redhat_1.1.ep6.el6, jboss-as-cli-7.5.18-1.Final_redhat_1.1.ep6.el6 +47
- RHSA-2017:3218 Released 2017-11-14 · Red Hat rating ModerateRed Hat JBoss Enterprise Application Platform 6.4.18 security update
- Red Hat JBoss Enterprise Application Platform 6.4 for RHEL 7 Server hornetq-2.3.25-24.SP22_redhat_1.1.ep6.el7, jboss-as-appclient-7.5.18-1.Final_redhat_1.1.ep6.el7, jboss-as-cli-7.5.18-1.Final_redhat_1.1.ep6.el7 +47
- RHSA-2017:2811 Released 2017-09-26 · Red Hat rating Importanteap7-jboss-ec2-eap security update
- Red Hat JBoss Enterprise Application Platform 7.0 for RHEL 6 Server eap7-jboss-ec2-eap-7.0.8-1.GA_redhat_1.ep7.el6, eap7-jboss-ec2-eap-samples-7.0.8-1.GA_redhat_1.ep7.el6
- Red Hat JBoss Enterprise Application Platform 7.0 for RHEL 7 Server eap7-jboss-ec2-eap-7.0.8-1.GA_redhat_1.ep7.el7, eap7-jboss-ec2-eap-samples-7.0.8-1.GA_redhat_1.ep7.el7
- RHSA-2017:2809 Released 2017-09-26 · Red Hat rating ImportantRed Hat JBoss Enterprise Application Platform security update
- Red Hat JBoss Enterprise Application Platform 7.0 for RHEL 6 Server eap7-artemis-native-1.1.0-13.redhat_4.ep7.el6, eap7-artemis-native-wildfly-1.1.0-13.redhat_4.ep7.el6, eap7-bouncycastle-1.56.0-3.redhat_2.2.ep7.el6 +31
- RHSA-2017:2808 Released 2017-09-26 · Red Hat rating ImportantRed Hat JBoss Enterprise Application Platform security update
- Red Hat JBoss Enterprise Application Platform 7.0 for RHEL 7 Server eap7-artemis-native-1.1.0-13.redhat_4.ep7.el7, eap7-artemis-native-wildfly-1.1.0-13.redhat_4.ep7.el7, eap7-bouncycastle-1.56.0-3.redhat_2.2.ep7.el7 +31
- RHSA-2017:2810 Released 2017-09-26 · Red Hat rating ImportantRed Hat JBoss Enterprise Application Platform security update
- Red Hat JBoss EAP 7.0
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat JBoss Enterprise Application Platform 6 | Affected | No fix planned: Out of support scope |
| Red Hat JBoss Portal 6 | Affected | No fix planned: Will not fix |
| Red Hat JBoss EAP 7.0 | Fixed | RHSA-2017:2810 |
| Red Hat JBoss EAP 7.2 | Fixed | RHSA-2019:0139 |
| Red Hat JBoss EAP 7.2 for RHEL 6 Server | Fixed | RHSA-2019:0136 |
| Red Hat JBoss EAP 7.2 for RHEL 7 Server | Fixed | RHSA-2019:0137 |
| Red Hat JBoss Enterprise Application Platform 6.4 | Fixed | RHSA-2017:3220 |
| Red Hat JBoss Enterprise Application Platform 6.4 for RHEL 5 Server | Fixed | RHSA-2017:3216, RHSA-2018:2742 |
| Red Hat JBoss Enterprise Application Platform 6.4 for RHEL 6 Server | Fixed | RHSA-2017:3217, RHSA-2017:3219, RHSA-2018:2743 |
| Red Hat JBoss Enterprise Application Platform 6.4 for RHEL 7 Server | Fixed | RHSA-2017:3218, RHSA-2018:2741 |
| Red Hat JBoss Enterprise Application Platform 7.0 for RHEL 6 Server | Fixed | RHSA-2017:2809, RHSA-2017:2811 |
| Red Hat JBoss Enterprise Application Platform 7.0 for RHEL 7 Server | Fixed | RHSA-2017:2808, RHSA-2017:2811 |
Not affected: 8 products
- Red Hat BPM Suite 6
- Red Hat JBoss BRMS 6
- Red Hat JBoss Data Grid 6
- Red Hat JBoss Enterprise Application Platform 7
- Red Hat JBoss Fuse 6
- Red Hat JBoss Operations Network 3
- Red Hat Mobile Application Platform 4
- Red Hat Single Sign-On 7
Timeline
- 2026-10-02 Threatist record created from CVE-2017-2582
- 2026-10-03 Alias added: GHSA-c77r-6f64-478q
- 2026-11-05 Fix available: Red Hat JBoss EAP 7.0 · Red Hat
References
Patch 2
Advisory 18
- RHSA-2017:3220
- RHSA-2017:3216
- RHSA-2017:2809
- RHSA-2018:2740
- RHSA-2017:3218
- RHSA-2017:2810
- RHSA-2018:2741
- RHSA-2018:2742
- RHSA-2017:2808
- RHSA-2019:0137
- RHSA-2017:3219
- RHSA-2019:0139
- RHSA-2019:0136
- RHSA-2018:2743
- RHSA-2017:3217
- RHSA-2017:2811
- https://nvd.nist.gov/vuln/detail/CVE-2017-2582
- https://github.com/advisories/GHSA-c77r-6f64-478q
More Red Hat Jboss Enterprise Application Platform vulnerabilities
- TI-2017-08941 Deserialization of untrusted data in Red Hat jbossas KEVCVSS 3.1CRITICAL 9.8
- TI-2010-01790 JBoss Seam 2 (jboss-seam2), as used in JBoss Enterprise Application Platform 4.3.0 for… KEVCVSS 3.1HIGH 8.8
- TI-2017-09342 Unrestricted file upload in Apache Tomcat KEVCVSS 3.1HIGH 8.1
- TI-2023-23979 The HTTP/2 protocol allows a denial of service (server resource consumption) because… KEVCVSS 3.1HIGH 7.5
- TI-2010-01383 The Web Console (aka web-console) in JBossAs in Red Hat JBoss Enterprise Application… KEVCVSS 3.1HIGH 7.5
- TI-2017-09354 XML external entity injection in Apache Solr before 7.1 with Apache Lucene before 7.1 CVSS 3.1CRITICAL 9.8
Sources
- CVE-2017-2582 · CVE Program
- CVE-2017-2582 · NVD
- FIRST EPSS
- GHSA-c77r-6f64-478q · GitHub Advisory Database · CC BY 4.0
- CVE-2017-2582 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences