Org.keycloak/keycloak-model-storage-service: variable injection into environment variables (Keycloak keycloak)

CVE-2025-9162
MEDIUM 4.9

En bref

Source
NVD
EPSS
EPSS 0.54 % · centile 45 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
redhat
Statut NVD
Deferred

Description

A flaw was found in org.keycloak/keycloak-model-storage-service. The KeycloakRealmImport custom resource substitutes placeholders within imported realm documents, potentially referencing environment variables. This substitution process allows for injection attacks when crafted realm documents are processed. An attacker can leverage this to inject malicious content during the realm import procedure. This can lead to unintended consequences within the Keycloak environment.

Faiblesses (CWE)

  • CWE-526 — Cleartext Storage of Sensitive Information in an Environment Variable

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 4.9CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:Nredhat
CVSS 3.1MEDIUM 4.9CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:NNVD · secalert@redhat.com (Secondary)

Avis

Références européennes

Produits affectés

ProduitVersions
Keycloak · keycloakaffected 0 < 26.3.4
Red Hat · Red Hat build of Keycloak 26.0
Red Hat · Red Hat build of Keycloak 26.0unaffected 26.0.15-1 < *
Red Hat · Red Hat build of Keycloak 26.0unaffected 26.0-18 < *
Red Hat · Red Hat build of Keycloak 26.0unaffected 26.0-19 < *
Red Hat · Red Hat build of Keycloak 26.2
Red Hat · Red Hat build of Keycloak 26.2unaffected 26.2.8-1 < *
Red Hat · Red Hat build of Keycloak 26.2unaffected 26.2-8 < *
Red Hat · Red Hat build of Keycloak 26.2unaffected 26.2-8 < *
Red Hat · Red Hat build of Keycloak 26.2unaffected 26.2.9-1 < *
Red Hat · Red Hat build of Keycloak 26.2unaffected 26.2-9 < *
Red Hat · Red Hat build of Keycloak 26.2unaffected 26.2-9 < *
Red Hat · Red Hat build of Keycloak 26.2.9

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