Server-Side Request Forgery (SSRF)Weakness · CWE-918

CVE-2024-29021

CRITICAL · 9.0 CVSS v3.1 Published 2024-04-18
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
99/100
Remediation priority · Urgent
Remotely reachable No privileges Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
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.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

Judge0's default configuration is vulnerable to Server Side Request Forgery (SSRF), which allows an attacker with sufficient API access to escape the sandbox and achieve unsandboxed code execution as root on the host machine.

MitigationUpgrade Judge0 to version 1.13.1 or later and review/harden the default configuration to prevent SSRF-based sandbox escapes.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
High
Privileges
None
User interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify if Judge0 is installed
    Check for Judge0 processes or search for judge0 directories (e.g., find / -name 'judge0*' 2>/dev/null, or ps aux | grep -i judge0)
    Affected if Judge0 is found running on the system
  2. Determine the installed Judge0 version
    Check the version of the Judge0 installation. Common methods: check the Docker image tag if using containers (docker images), check a version file if installed from source, or query the API if accessible (GET /about or similar endpoint)
    Affected if The version is lower than 1.13.1 (e.g., 1.13.0 or earlier)
  3. Verify if default configuration is in use
    Examine the Judge0 configuration files (typically config.yml, settings.yml, or environment variables). Look for default or unmodified settings, particularly related to network restrictions, sandbox settings, and allowed external requests
    Affected if The configuration appears to be unchanged from defaults, especially network/sandbox settings
  4. Check if the execution API is exposed
    Determine if the /execute, /run, or similar code execution endpoints are accessible (check web server configuration, API firewall rules, or network access controls)
    Affected if The execution API is exposed without strong authentication or network-level restrictions
  5. Inspect sandbox isolation settings
    Review Judge0 sandbox configuration files or environment variables for settings controlling isolation (e.g., container runtime settings, seccomp profiles, or allow/deny rules for network requests)
    Affected if Sandbox isolation is not explicitly hardened or uses default permissive settings

A user is affected if they are running Judge0 version lower than 1.13.1 with default or unhardened configuration, where the execution API is accessible and sandbox isolation can be bypassed via SSRF.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Upgrade Judge0 to version 1.13.1 or later and review/harden the default configuration to prevent SSRF-based sandbox escapes.

Recommended fix High confidence

Upgrade to Judge0 version 1.13.1 or later

  1. Identify the current version of Judge0 currently deployed
  2. Back up all Judge0 data, configurations, and database
  3. Upgrade Judge0 to version 1.13.1 or later
  4. Verify the upgrade was successful by checking the version number
  5. Test that the sandbox escape vulnerability is no longer present by confirming SSRF protections are in place
Caveat Review release notes for any breaking changes between current version and 1.13.1; test in staging environment before production deployment

Generated from the published advisory — verify against the referenced sources before acting.

Have this fixed Scoped from the published advisory
  • Consultation3.0 h
  • Implementation4.0 h
  • Testing3.0 h
  • Review / QA2.0 h
12.0 hours of engineering $2,130
Get help mitigating

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,408.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2024-29021 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2024-29021 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data