MODERATE 6.5

CVE-2017-2582

keycloak-core discloses system properties

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.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.keycloak » keycloak-core
< 2.5.1
2.5.1

Blast radius

1affected artifacts
70affected versions
356dependent artifacts (est.)
5,680dependent versions

57% of the dependent artifacts (204) still pull an affected version in their latest release.

DepthDependent versions
Direct
2,349
2 hops
1,891
3 hops
814
4 hops
204
5 hops
422

Most used dependents

Computed from the dependency graph of build 20261126.1706 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

References

Advisorynvd.nist.gov
Advisorygithub.com