{"answers":{"affected":"3 open source packages ship an affected version, including java, java-min and jre. It affects 4 products.","exploited":"There is no known exploitation of CVE-2024-20921 in the wild and no public exploit code.","fix":"Upgrade java to a fixed version for your release line: 1.8.0, 8.0.401, 11.0.22 or 17.0.10.","what":"CVE-2024-20921 is a medium-severity vulnerability in Oracle Graalvm, published on 17 Feb 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-20921 and fix it if it is affected.\n\nWhat it is: CVE-2024-20921 is a medium-severity vulnerability in Oracle Graalvm, published on 17 Feb 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-20921 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- java (Bitnami): affected all versions; fixed in 1.8.0, 8.0.401, 11.0.22, 17.0.10, 21.0.2\n- java-min (Bitnami): affected all versions; fixed in 1.8.0, 8.0.401, 11.0.22, 17.0.10, 21.0.2\n- jre (Bitnami): affected all versions; fixed in 1.8.0, 8.0.401, 11.0.22, 17.0.10, 21.0.2\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-20921/ (Markdown: https://insights.sbomify.com/CVE-2024-20921/index.md)","id":"CVE-2024-20921","markdown":"https://insights.sbomify.com/CVE-2024-20921/index.md","name":"CVE-2024-20921","record":{"aliases":["BELL-CVE-2024-20921","BIT-java-2024-20921","BIT-java-min-2024-20921","BIT-jre-2024-20921","CLEANSTART-2026-NK10065","CLEANSTART-2026-XY21425","DEBIAN-CVE-2024-20921","GHSA-hxqj-hr64-7vf7","MINI-6j34-rm64-h5g6","MINI-6x7c-9c8c-xxqr","MINI-m3r7-j974-mppx","MINI-qrvx-vgv3-hv4f","MINI-r6mc-wrrw-5jw5","MINI-r89q-rc46-hp9p","MINI-v3g3-5mq9-h8m7","MINI-vgx2-m75r-rx4r","MINI-vw6h-8343-v2mx","MINI-xpv2-66f3-pv8h","UBUNTU-CVE-2024-20921"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Java SE Runtime","requires_auth":"none","summary":"An unauthenticated attacker can exploit a Hotspot vulnerability to gain unauthorized access to critical data in Oracle Java SE and GraalVM.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"oracle","cpe":[{"product":"graalvm","vendor":"oracle"},{"product":"graalvm_for_jdk","vendor":"oracle"},{"product":"jdk","vendor":"oracle"},{"product":"jre","vendor":"oracle"}],"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-276","name":"Incorrect Default Permissions"}],"description":"Vulnerability in the Oracle Java SE, Oracle GraalVM for JDK, Oracle GraalVM Enterprise Edition product of Oracle Java SE (component: Hotspot).  Supported versions that are affected are Oracle Java SE: 8u391, 8u391-perf, 11.0.21, 17.0.9, 21.0.1; Oracle GraalVM for JDK: 17.0.9, 21.0.1; Oracle GraalVM Enterprise Edition: 20.3.12, 21.3.8 and  22.3.4. Difficult to exploit vulnerability allows unauthenticated attacker with network access via multiple protocols to compromise Oracle Java SE, Oracle GraalVM for JDK, Oracle GraalVM Enterprise Edition.  Successful attacks of this vulnerability can result in  unauthorized access to critical data or complete access to all Oracle Java SE, Oracle GraalVM for JDK, Oracle GraalVM Enterprise Edition accessible data. Note: This vulnerability can be exploited by using APIs in the specified Component, e.g., through a web service which supplies data to the APIs. This vulnerability also applies to Java deployments, typically in clients running sandboxed Java Web Start applications or sandboxed Java applets, that load and run untrusted code (e.g., code that comes from the internet) and rely on the Java sandbox for security. CVSS 3.1 Base Score 5.9 (Confidentiality impacts).  CVSS Vector: (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N).","ecosystems":["Bitnami"],"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":"Information disclosure in Java SE JDK and JRE","id":"CVE-2024-20921","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"oracle:graalvm","products":["oracle:graalvm","oracle:graalvm_for_jdk","oracle:jdk","oracle:jre"],"type":"information_disclosure","year":"2024"},"n_packages":3,"n_references":1,"next":{"headline":"Other in Java SE JDK and JRE","id":"CVE-2024-20922"},"packages":[{"ecosystem":"Bitnami","fixed":["1.8.0","8.0.401","11.0.22","17.0.10","21.0.2"],"introduced":["0","1.9.0","9.0.0","12.0.0","18.0.0"],"last_affected":[],"package":"java","purl":"pkg:bitnami/java","source":"BIT-java-2024-20921"},{"ecosystem":"Bitnami","fixed":["1.8.0","8.0.401","11.0.22","17.0.10","21.0.2"],"introduced":["0","1.9.0","9.0.0","12.0.0","18.0.0"],"last_affected":[],"package":"java-min","purl":"pkg:bitnami/java-min","source":"BIT-java-min-2024-20921"},{"ecosystem":"Bitnami","fixed":["1.8.0","8.0.401","11.0.22","17.0.10","21.0.2"],"introduced":["0","1.9.0","9.0.0","12.0.0","18.0.0"],"last_affected":[],"package":"jre","purl":"pkg:bitnami/jre","source":"BIT-jre-2024-20921"}],"prev":{"headline":"Information disclosure in Solaris Operating System","id":"CVE-2024-20920"},"products":["Java SE JDK and JRE"],"published":"2024-02-17","related":[{"cvss_score":8.6,"headline":"Security feature bypass in Oracle GraalVM Enterprise Edition","id":"CVE-2025-50059","kev_date_added":null,"published":"2025-07-15"},{"cvss_score":8.2,"headline":"Arbitrary File Creation/Overwrite via insufficient symlink protection due to directory cache poisoning","id":"CVE-2021-32803","kev_date_added":null,"published":"2021-08-03"},{"cvss_score":8.2,"headline":"Arbitrary File Creation/Overwrite due to insufficient absolute path sanitization","id":"CVE-2021-32804","kev_date_added":null,"published":"2021-08-03"},{"cvss_score":8.1,"headline":"Code injection in Oracle GraalVM Enterprise Edition","id":"CVE-2025-30749","kev_date_added":null,"published":"2025-07-15"},{"cvss_score":8.1,"headline":"Code injection in Oracle GraalVM Enterprise Edition","id":"CVE-2025-50106","kev_date_added":null,"published":"2025-07-15"},{"cvss_score":7.8,"headline":"Privilege escalation in Oracle GraalVM Enterprise Edition","id":"CVE-2026-62574","kev_date_added":null,"published":"2026-07-21"},{"cvss_score":7.7,"headline":"Denial of service in GraalVM Enterprise Edition","id":"CVE-2020-2802","kev_date_added":null,"published":"2020-04-15"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"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":"2025-11-04","vendors":["Oracle Corporation"]},"summary":"An unauthenticated attacker can exploit a Hotspot vulnerability to gain unauthorized access to critical data in Oracle Java SE and GraalVM.","url":"https://insights.sbomify.com/CVE-2024-20921/"}