CVE-2024-28189
Judge0 is an open-source online code execution system. The …
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/judge0/judge0/blob/v1.13.0/app/jobs/isolate_job.rb#L232
- github.com/judge0/judge0/commit/f3b8547b3b67863e4ea0ded3adcb963add56addd
- github.com/judge0/judge0/security/advisories/GHSA-3xpw-36v7-2cmg
- github.com/judge0/judge0/security/advisories/GHSA-h9g2-45c8-89cf
- nvd.nist.gov/vuln/detail/CVE-2024-28189
- cve.org/CVERecord?id=CVE-2024-28189
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.