CVE-2017-2582
published medium CVSS 3.0 · 6.5keycloak: SAML request parser replaces special strings with system properties
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | keycloak2.5.1 | Affected | Not stated | redhat |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- redhat · cna
- Vector string
- CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Red Hat | keycloak | 2.5.1 (affected) | redhat · cna |
Weaknesses
1- CWE-201
References
20- 101046 http://www.securityfocus.com/bid/101046
- 1041707 http://www.securitytracker.com/id/1041707
- RHSA-2017:2808 https://access.redhat.com/errata/RHSA-2017:2808
- RHSA-2017:2809 https://access.redhat.com/errata/RHSA-2017:2809
- RHSA-2017:2810 https://access.redhat.com/errata/RHSA-2017:2810
- RHSA-2017:2811 https://access.redhat.com/errata/RHSA-2017:2811
- RHSA-2017:3216 https://access.redhat.com/errata/RHSA-2017:3216
- RHSA-2017:3217 https://access.redhat.com/errata/RHSA-2017:3217
- RHSA-2017:3218 https://access.redhat.com/errata/RHSA-2017:3218
- RHSA-2017:3219 https://access.redhat.com/errata/RHSA-2017:3219
- RHSA-2017:3220 https://access.redhat.com/errata/RHSA-2017:3220
- RHSA-2018:2740 https://access.redhat.com/errata/RHSA-2018:2740
- RHSA-2018:2741 https://access.redhat.com/errata/RHSA-2018:2741
- RHSA-2018:2742 https://access.redhat.com/errata/RHSA-2018:2742
- RHSA-2018:2743 https://access.redhat.com/errata/RHSA-2018:2743
- RHSA-2019:0136 https://access.redhat.com/errata/RHSA-2019:0136
- RHSA-2019:0137 https://access.redhat.com/errata/RHSA-2019:0137
- RHSA-2019:0139 https://access.redhat.com/errata/RHSA-2019:0139
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-2582
- https://github.com/keycloak/keycloak/pull/3715/commits/0cb5ba0f6e83162d221681f47b470c3042eef237
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 51d455e44497ee4859df4e6738e3dab058ce997ed8439a0c4f8ee3c894287cf3
- Ingested
- 23 Sep 2026, 07:42:35 UTC
- Source record
- Official CVE record