CVE-2023-4918 json
Plaintext storage of user password
published 2023-09-12 3 y ago modified 2026-07-16 3 mo ago also GHSA-5q66-v53q-pm35 , EUVD-2023-2438
- cvss
- 8.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 47%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.keycloak:keycloak-core 22.0.3
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-4918 updated cvss 8.8
keycloak: Plaintext Storage of User Password
-
Red Hat Single Sign-On 7 rh-sso7-keycloak rh-sso7-keycloaknot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
0.57% chance of exploitation in the next 30 days, higher than 47% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.keycloak:keycloak-core | >=22.0.2, <22.0.3 |
22.0.3 |
Affected products
- n/a keycloak
- Red Hat Red Hat Single Sign-On 7
Classification
References
-
access.redhat.com
/security/cve/CVE-2023-4918
vdb-entry, web, vendor-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=2238588
issue-tracking, web, vendor-advisory
-
github.com
/keycloak/keycloak/security/advisories/GHSA-5q66-v53q-pm35
web, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2023-4918
advisory
-
github.com
/keycloak/keycloak
package
Sources
- CVE List CVE-2023-4918
- GitHub Advisory GHSA-5q66-v53q-pm35
- NVD CVE-2023-4918
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.