Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2017-2582

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2017-2582
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 08:40 UTC · Revision 1

Source evidence

CVE-2017-2582

core-osv · Original source

Published 26 Jul 2018, 17:29 UTC

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.

osv:CVE-2017-2582
Complete source record
{
  "id": "0fec97aaa901467b2de6c20f1b49491a704dfd04bb352e76ce562910f955d1ab",
  "url": "https://osv.dev/vulnerability/CVE-2017-2582",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2017-2582",
    "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.",
    "evidence": "osv:CVE-2017-2582",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2017-2582",
      "aliases": [
        "CVE-2017-2582",
        "GHSA-c77r-6f64-478q"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/keycloak/keycloak",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1ad464c6811f67470449226286c4aa0e1b8de218"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:redhat:keycloak:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.5.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.4.0.Test",
            "1.3.0.Final",
            "1.1.0.Beta2",
            "1.0.0.Final",
            "1.0-final",
            "1.0-rc-1",
            "1.0-beta-4",
            "1.0-beta-2",
            "1.0-beta-1",
            "1.0-alpha-3",
            "1.0-alpha-2",
            "1.0-alpha-1",
            "1.0-alpha-1-12062013"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-2582.json"
          }
        }
      ],
      "modified": "2026-10-24T10:49:20.707377453Z",
      "provider": "osv",
      "references": [
        "https://access.redhat.com/errata/RHSA-2017:2808",
        "https://access.redhat.com/errata/RHSA-2017:2809",
        "https://access.redhat.com/errata/RHSA-2017:2810",
        "https://access.redhat.com/errata/RHSA-2017:2811",
        "https://access.redhat.com/errata/RHSA-2017:3216",
        "https://access.redhat.com/errata/RHSA-2017:3217",
        "https://access.redhat.com/errata/RHSA-2017:3218",
        "https://access.redhat.com/errata/RHSA-2017:3219",
        "https://access.redhat.com/errata/RHSA-2017:3220",
        "https://access.redhat.com/errata/RHSA-2018:2740",
        "https://access.redhat.com/errata/RHSA-2018:2741",
        "https://access.redhat.com/errata/RHSA-2018:2742",
        "https://access.redhat.com/errata/RHSA-2018:2743",
        "https://access.redhat.com/errata/RHSA-2019:0136",
        "https://access.redhat.com/errata/RHSA-2019:0137",
        "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_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:redhat:jboss_enterprise_application_platform:6.0.0:*:*:*:*:*:*:*",
              "cpe:2.3:a:redhat:jboss_enterprise_application_platform:6.4.0:*:*:*:*:*:*:*",
              "cpe:2.3:a:redhat:jboss_enterprise_application_platform:7.0.0:*:*:*:*:*:*:*",
              "cpe:2.3:a:redhat:jboss_enterprise_application_platform:7.1.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "redhat:jboss_enterprise_application_platform",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "6.0.0"
                  },
                  {
                    "last_affected": "6.0.0"
                  },
                  {
                    "introduced": "6.4.0"
                  },
                  {
                    "last_affected": "6.4.0"
                  },
                  {
                    "introduced": "7.0.0"
                  },
                  {
                    "last_affected": "7.0.0"
                  },
                  {
                    "introduced": "7.1.0"
                  },
                  {
                    "last_affected": "7.1.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2017-2582",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 441679,
  "published_at": "2018-07-26T17:29:00.41+00:00"
}