CVE-2024-23683 Artemis Java Test Sandbox InvocationTargetException Subclass Escape

High 8.2 Published Updated

Attackers can escape the Java test sandbox and execute arbitrary code by crafting a malicious InvocationTargetException subclass.

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-23683?

CVE-2024-23683 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 less than 1.7.6 are vulnerable to a sandbox escape when an attacker crafts a special subclass of InvocationTargetException. An attacker can abuse this issue to execute arbitrary Java when a victim executes the supposedly sandboxed code.

Weakness: CWE-653

Which versions are affected by CVE-2024-23683?

2 open source packages ship an affected version, including de.tum.in.ase:artemis-java-test-sandbox. It affects 1 product.

PackageAffectedFixed in
de.tum.in.ase:artemis-java-test-sandbox MavenAll versions1.7.6
de.tum.in.ase:artemis-java-test-sandbox MavenAll versions1.7.6

Products include Ls1intum Artemis Java Test Sandbox.

How do I fix CVE-2024-23683?

Upgrade de.tum.in.ase:artemis-java-test-sandbox to 1.7.6 or later.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2024-23683 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-23683 exists.

Sources

Also known as GHSA-883x-6fch-6wjx.

Is CVE-2024-23683 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free