CVE-2024-10451
Org.keycloak:keycloak-quarkus-server: sensitive data exposure in keycloak build process
CVE-2024-10451 is a hardcoded credentials in Red Hat build of Keycloak 24 (CVSS 5.9, Medium).
No known exploitation. EPSS puts it in the 54th percentile. Fixed versions are out.
No public exploit knownFix5 products3 fixed builds listed below
e.g. OID 1.3.6.1.4.1.25623.1.0.153909
What to do
Find your product and version, then upgrade to the build on the right.
- Red Hat build of Keycloak 24Fixed builds24.0.9-1Stated by: CVE record
- Red Hat build of Keycloak 26.0Fixed builds26.0.6-2Stated by: CVE record
- Maven org.keycloak:keycloak-quarkus-serverAffected: < 24.0.9Upgrade to: 24.0.9Stated by: GitHub advisory
- Red Hat Inc. Red Hat Build of KeycloakAffected: 24Upgrade to: not statedStated by: BDU
- Red Hat Inc. KeycloakAffected: before 26.0.6Upgrade to: not statedStated by: BDU
Versions as the sources state them. Full version matrix after sign-in
What it is
From the CVE record
A flaw was found in Keycloak. This issue occurs because sensitive runtime values, such as passwords, may be captured during the Keycloak build process and embedded as default values in bytecode, leading to unintended information disclosure. In Keycloak 26, sensitive data specified directly in environment variables during the build process is also stored as a default values, making it accessible during runtime. Indirect usage of environment variables for SPI options and Quarkus properties is also vulnerable due to unconditional expansion by PropertyMapper logic, capturing sensitive data as default values in all Keycloak versions up to 26.0.2.
In plain language
No plain-language summary for this CVE yet.
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Not in the catalog. CISA has not confirmed exploitation.
- Public exploits
No public exploit or proof of concept found in the sources we track.
- EPSS
0.8% chance of exploitation activity in the next 30 days, which ranks it in the 54th percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
Lifecycle
14 events over 665 days, from the signal feeds we watch.
- Patch availablerecord updated
- Patch availablerecord updated
- Patch availablepatch available, record updated, record updated
- OpenVAS check added
- Patch availablepublished, weakness classified, att&ck mapped, record updated
Affected products
- Red Hat build of Keycloak 24Operating Systems / linux-distro
- Red Hat build of Keycloak 24.0.9Web & CMS Plugins
- Red Hat build of Keycloak 26.0DevTools & CI
- Red Hat build of Keycloak 26.0.6Web & CMS Plugins
- Red Hat JBoss Enterprise Application Platform 8Enterprise Software / itsm-monitoring
- Red Hat Single Sign-On 7Security Products / identity-access-mgmt
- Red Hat Build of KeycloakOperating Systems / linux-distro
- KeycloakOperating Systems / linux-distro
Technical detail
CVSS 3.1 vector
Open in the CVSS calculatorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Scored 5.9 by NVD.
How it is reached
- Attack Vector NetworkExploitable remotely over the network without any special conditions
- Attack Complexity HighRequires specific conditions like a race condition or non-default configuration
- Privileges Required NoneNo authentication required — anyone can exploit this
- User Interaction NoneNo user interaction needed — fully automated exploitation
Scope
- Scope UnchangedImpact is limited to the vulnerable component itself
Impact if exploited
- Confidentiality HighTotal information disclosure — all data in the component is compromised
- Integrity NoneNo integrity impact
- Availability NoneNo availability impact
Weaknesses
ATT&CK techniques
Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.
- Credential AccessT1552Unsecured Credentialshigh confidence
- Initial AccessT1078Valid Accountshigh confidence
Sources
References in the record
- access.redhat.com/errata/RHSA-2024:10175
- access.redhat.com/errata/RHSA-2024:10176
- access.redhat.com/errata/RHSA-2024:10177
And 15 more references. See all after sign-in
Questions about CVE-2024-10451
- Is CVE-2024-10451 being exploited?
- No exploitation is confirmed and no public exploit is known. EPSS puts the chance of exploitation in the next 30 days at 0.8%.
- Which versions are affected by CVE-2024-10451?
- Red Hat Build of Keycloak: 24. Keycloak: before 26.0.6. 3 more products are listed in the record.
- How do I fix or mitigate CVE-2024-10451?
- Upgrade to a fixed build for your product branch: 24.0.9-1, 26.0.6-2, 24.0.9. The advisory is on access.redhat.com.
Last updated
Related articles
All articlesWatch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for Red Hat, not every advisory.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI