{"answers":{"affected":"4 open source packages ship an affected version, including org.keycloak:keycloak-quarkus-server.","exploited":"There is no known exploitation of CVE-2024-10451 in the wild and no public exploit code.","fix":"Upgrade org.keycloak:keycloak-quarkus-server to a fixed version for your release line: 24.0.9 or 26.0.6.","what":"CVE-2024-10451 is a medium-severity vulnerability in Red Hat JBoss Enterprise Application Platform 8, published on 25 Nov 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-10451 and fix it if it is affected.\n\nWhat it is: CVE-2024-10451 is a medium-severity vulnerability in Red Hat JBoss Enterprise Application Platform 8, published on 25 Nov 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-10451 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.keycloak:keycloak-quarkus-server (Maven): affected all versions; fixed in 24.0.9\n- org.keycloak:keycloak-quarkus-server (Maven): affected all versions; fixed in 24.0.9\n- org.keycloak:keycloak-quarkus-server (Maven): affected from 25.0.0; fixed in 26.0.6\n- org.keycloak:keycloak-quarkus-server (Maven): affected from 25.0.0; fixed in 26.0.6\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-10451/ (Markdown: https://insights.sbomify.com/CVE-2024-10451/index.md)","id":"CVE-2024-10451","markdown":"https://insights.sbomify.com/CVE-2024-10451/index.md","name":"CVE-2024-10451","record":{"aliases":["ECHO-fea2-5ea1-2849","GHSA-v7gv-xpgf-6395"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Keycloak identity server","requires_auth":"none","summary":"Sensitive runtime values like passwords are embedded in bytecode during the build process, allowing attackers to access them at runtime.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[],"cvss":{"score":5.9,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-798","name":"Use of Hard-coded Credentials"}],"description":"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.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Org.keycloak:keycloak-quarkus-server: sensitive data exposure in keycloak build process","id":"CVE-2024-10451","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"information_disclosure","year":"2024"},"n_packages":4,"n_references":6,"next":{"headline":"Grafana org admin can delete pending invites in different org","id":"CVE-2024-10452"},"packages":[{"ecosystem":"Maven","fixed":["24.0.9"],"introduced":["0"],"last_affected":[],"package":"org.keycloak:keycloak-quarkus-server","purl":null,"source":"GHSA-v7gv-xpgf-6395"},{"ecosystem":"Maven","fixed":["24.0.9"],"introduced":["0"],"last_affected":[],"package":"org.keycloak:keycloak-quarkus-server","purl":"pkg:maven/org.keycloak/keycloak-quarkus-server","source":"GHSA-v7gv-xpgf-6395"},{"ecosystem":"Maven","fixed":["26.0.6"],"introduced":["25.0.0"],"last_affected":[],"package":"org.keycloak:keycloak-quarkus-server","purl":null,"source":"GHSA-v7gv-xpgf-6395"},{"ecosystem":"Maven","fixed":["26.0.6"],"introduced":["25.0.0"],"last_affected":[],"package":"org.keycloak:keycloak-quarkus-server","purl":"pkg:maven/org.keycloak/keycloak-quarkus-server","source":"GHSA-v7gv-xpgf-6395"}],"prev":{"headline":"SourceCodester Kortex Lite Advocate Office Management System POST Parameter edit_profile.php sql injection","id":"CVE-2024-10450"},"products":["Red Hat JBoss Enterprise Application Platform 8","Red Hat Single Sign-On 7","Red Hat build of Keycloak 24","Red Hat build of Keycloak 24.0.9","Red Hat build of Keycloak 26.0","Red Hat build of Keycloak 26.0.6"],"published":"2024-11-25","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-13","vendors":["Red Hat"]},"summary":"Sensitive runtime values like passwords are embedded in bytecode during the build process, allowing attackers to access them at runtime.","url":"https://insights.sbomify.com/CVE-2024-10451/"}