cve.bz

CVE-2023-4918 redhat keycloak: Plaintext Storage of a Password

8.8 highEPSS 0.6%Fix available

High (8.8) in redhat keycloak. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in org.keycloak:keycloak-core 22.0.3.

On this page
A flaw was found in the Keycloak package, more specifically org.keycloak.userprofile. When a user registers itself through registration flow, the "password" and "password-confirm" field from the form will occur as regular user attributes. All users and clients with proper rights and roles are able to read users attributes, allowing a malicious user with minimal access to retrieve the users passwords in clear text, jeopardizing their environment.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 48th percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2024-09-25. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-319 Cleartext Transmission of Sensitive Information
CWE-256 Plaintext Storage of a Password
OWASP Top 10
A04:2025 Cryptographic Failures, A06:2025 Insecure Design
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-4918 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-4918?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-4918?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-4918 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
redhat:keycloak22.0.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-5q66-v53q-pm35Mavenorg.keycloak:keycloak-core>=22.0.2 <22.0.322.0.3

Red Hat

Red Hat rates this Important.

Red Hat's statement

Red Hat Single Sign On 7.6 is not affected as the underlying Keycloak version differs from the affected stream.

https://www.keycloak.org/2023/09/keycloak-2203-released.html

ProductPackageStateAdvisory
Red Hat Single Sign-On 7rh-sso7-keycloakNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-4918.

Attack patterns (CAPEC)

  • CAPEC-65 Sniff Application Code Likelihood: Low · Severity: High
  • CAPEC-102 Session Sidejacking Likelihood: High · Severity: High
  • CAPEC-117 Interception Likelihood: Low · Severity: Medium
  • CAPEC-383 Harvesting Information via API Event Monitoring Severity: Low
  • CAPEC-477 Signature Spoofing by Mixing Signed and Unsigned Content Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON