CVE-2024-23682 Artemis Java Test Sandbox Class Loading Escape
Attackers can execute arbitrary Java code by including malicious class files in trusted packages, bypassing the sandbox restrictions in Artemis.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2024-23682?
CVE-2024-23682 is a high-severity code injection vulnerability in ls1intum:artemis_java_test_sandbox, published on 19 Jan 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
Artemis Java Test Sandbox versions before 1.8.0 are vulnerable to a sandbox escape when an attacker includes class files in a package that Ares trusts. An attacker can abuse this issue to execute arbitrary Java when a victim executes the supposedly sandboxed code.
Which versions are affected by CVE-2024-23682?
2 open source packages ship an affected version, including de.tum.in.ase:artemis-java-test-sandbox. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
de.tum.in.ase:artemis-java-test-sandbox Maven | All versions | 1.8.0 |
de.tum.in.ase:artemis-java-test-sandbox Maven | All versions | 1.8.0 |
Products include Ls1intum Artemis Java Test Sandbox.
How do I fix CVE-2024-23682?
Upgrade de.tum.in.ase:artemis-java-test-sandbox to 1.8.0 or later.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2024-23682 being exploited?
There is no known exploitation of CVE-2024-23682 in the wild and no public exploit code.
Other vulnerabilities in ls1intum:artemis_java_test_sandbox
Sources
Also known as GHSA-227w-wv4j-67h4.