Keycloak: authorization bypass (org.keycloak:keycloak-services)

CVE-2023-6544
MEDIUM 5.4

At a glance

Source
NVD
EPSS
EPSS 1.07 % · percentile 65 ()
State
PUBLISHED
Published
Updated
Assigner
redhat
NVD status
Deferred

Description

A flaw was found in the Keycloak package. This issue occurs due to a permissive regular expression hardcoded for filtering which allows hosts to register a dynamic client. A malicious user with enough information about the environment could jeopardize an environment with this specific Dynamic Client Registration and TrustedDomain configuration previously unauthorized.

Weaknesses (CWE)

  • CWE-625 — Permissive Regular Expression

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.4CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:Nredhat
CVSS 3.1MEDIUM 5.4CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:NNVD · secalert@redhat.com (Secondary)

Advisories

European references

Affected products

ProductVersions
org.keycloak:keycloak-servicesaffected 22.0.0 < 22.0.10 ; affected 23.0.0 < 24.0.3
Red Hat · Red Hat build of Keycloak 22unaffected 22.0.10-1 < *
Red Hat · Red Hat build of Keycloak 22unaffected 22-13 < *
Red Hat · Red Hat build of Keycloak 22unaffected 22-16 < *
Red Hat · Red Hat build of Keycloak 22.0.10
Red Hat · Red Hat Single Sign-On 7.6 for RHEL 7unaffected 0:18.0.13-1.redhat_00001.1.el7sso < *
Red Hat · Red Hat Single Sign-On 7.6 for RHEL 8unaffected 0:18.0.13-1.redhat_00001.1.el8sso < *
Red Hat · Red Hat Single Sign-On 7.6 for RHEL 9unaffected 0:18.0.13-1.redhat_00001.1.el9sso < *
Red Hat · RHEL-8 based Middleware Containersunaffected 7.6-46 < *
Red Hat · RHSSO 7.6.8

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD