Original description
Judge0 is an open-source online code execution system. The application uses the UNIX chown command on an untrusted file within the sandbox. An attacker can abuse this by creating a symbolic link (symlink) to a file outside the sandbox, allowing the attacker to run chown on arbitrary files outside of the sandbox. This vulnerability is not impactful on it's own, but it can be used to bypass the patch for CVE-2024-28185 and obtain a complete sandbox escape. This vulnerability is fixed in 1.13.1.
Affected software
- Judge0 CE * repository or package match
Details
- Published
- 2024-04-18
- Last modified
- 2024-08-02
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H- CWE
- CWE-61, CWE-59
- EPSS (30-day exploit probability)
- 7.21% (percentile 94)
References
- cve.org/CVE-2024-28189
- nvd.nist.gov/vuln/detail/CVE-2024-28189
- github.com/judge0/judge0/security/advisories/GHSA-3xpw-36v7-2cmg
- github.com/judge0/judge0/security/advisories/GHSA-h9g2-45c8-89cf
- github.com/judge0/judge0/commit/f3b8547b3b67863e4ea0ded3adcb963add56addd
- github.com/judge0/judge0/blob/v1.13.0/app/jobs/isolate_job.rb#L232
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.