{"api_version":"1","generated_at":"2026-07-24T07:40:24+00:00","cve":"CVE-2023-4918","urls":{"html":"https://cve.report/CVE-2023-4918","api":"https://cve.report/api/cve/CVE-2023-4918.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-4918","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-4918"},"summary":{"title":"CVE-2023-4918","description":"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.","state":"PUBLIC","assigner":"secalert@redhat.com","published_at":"2023-09-12 20:15:00","updated_at":"2023-11-07 04:23:00"},"problem_types":["CWE-319"],"metrics":[],"references":[{"url":"https://github.com/keycloak/keycloak/security/advisories/GHSA-5q66-v53q-pm35","name":"https://github.com/keycloak/keycloak/security/advisories/GHSA-5q66-v53q-pm35","refsource":"MISC","tags":[],"title":"Plaintext Storage of User Password · Advisory · keycloak/keycloak · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2238588","name":"https://bugzilla.redhat.com/show_bug.cgi?id=2238588","refsource":"MISC","tags":[],"title":"2238588 – (CVE-2023-4918) CVE-2023-4918 keycloak: Plaintext Storage of User Password","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://access.redhat.com/security/cve/CVE-2023-4918","name":"https://access.redhat.com/security/cve/CVE-2023-4918","refsource":"MISC","tags":[],"title":"cve-details","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-4918","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-4918","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2023","cve_id":"4918","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"redhat","cpe5":"keycloak","cpe6":"22.0.2","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2023-4918","qid":"995240","title":"Java (Maven) Security Update for org.keycloak:keycloak-core (GHSA-5q66-v53q-pm35)"}]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2023-4918","ASSIGNER":"secalert@redhat.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Plaintext Storage of a Password","cweId":"CWE-256"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"n/a","product":{"product_data":[{"product_name":"keycloak","version":{"version_data":[{"version_value":"not down converted","x_cve_json_5_version_data":{"versions":[{"version":"22.0.3","status":"unaffected"}]}}]}}]}},{"vendor_name":"Red Hat","product":{"product_data":[{"product_name":"Red Hat Single Sign-On 7","version":{"version_data":[{"version_value":"not down converted","x_cve_json_5_version_data":{"defaultStatus":"unaffected"}}]}}]}}]}},"references":{"reference_data":[{"url":"https://access.redhat.com/security/cve/CVE-2023-4918","refsource":"MISC","name":"https://access.redhat.com/security/cve/CVE-2023-4918"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2238588","refsource":"MISC","name":"https://bugzilla.redhat.com/show_bug.cgi?id=2238588"},{"url":"https://github.com/keycloak/keycloak/security/advisories/GHSA-5q66-v53q-pm35","refsource":"MISC","name":"https://github.com/keycloak/keycloak/security/advisories/GHSA-5q66-v53q-pm35"}]},"credits":[{"lang":"en","value":"Upstream acknowledges Niko Köbler as the original reporter."}],"impact":{"cvss":[{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}]}},"nvd":{"publishedDate":"2023-09-12 20:15:00","lastModifiedDate":"2023-11-07 04:23:00","problem_types":["CWE-319"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:redhat:keycloak:22.0.2:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}