{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2024-29021 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-29021 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-29021 is a critical server-side request forgery vulnerability in judge0, published on 18 Apr 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-29021 and fix it if it is affected.\n\nWhat it is: CVE-2024-29021 is a critical server-side request forgery vulnerability in judge0, published on 18 Apr 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-29021 in the wild and no public exploit code.\n\nAffected product: judge0. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-29021/ (Markdown: https://insights.sbomify.com/CVE-2024-29021/index.md)","id":"CVE-2024-29021","markdown":"https://insights.sbomify.com/CVE-2024-29021/index.md","name":"CVE-2024-29021","record":{"aliases":["GHSA-q7vg-26pg-v5hr"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Judge0 code execution","requires_auth":"none","summary":"An attacker can exploit SSRF in Judge0's default configuration to escape the sandbox and execute code as root on the host.","user_interaction":"not_required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":9.1,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"},{"id":"CWE-1393","name":"Use of Default Password"}],"description":"Judge0 is an open-source online code execution system. The default configuration of Judge0 leaves the service vulnerable to a sandbox escape via Server Side Request Forgery (SSRF). This allows an attacker with sufficient access to the Judge0 API to obtain unsandboxed code execution as root on the target machine. This vulnerability is fixed in 1.13.1.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"SSRF into Sandbox Escape through Unsafe Default Configuration","id":"CVE-2024-29021","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"ssrf","year":"2024"},"n_packages":0,"n_references":2,"next":{"headline":"Session Hijacking via XSS attack in header and session grid in Xibo CMS","id":"CVE-2024-29022"},"packages":[],"prev":{"headline":"JumpServer allows nn authorized attacker to get sensitive information in playbook files when playbook_id is leaked","id":"CVE-2024-29020"},"products":["judge0"],"published":"2024-04-18","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-08-02","vendors":["judge0"]},"summary":"An attacker can exploit SSRF in Judge0's default configuration to escape the sandbox and execute code as root on the host.","url":"https://insights.sbomify.com/CVE-2024-29021/"}