CVE-2024-23681 Artemis Java Test Sandbox Libary Load Escape

High 8.2 Published Updated

Attackers can escape the Artemis Java Test Sandbox by loading untrusted libraries, enabling arbitrary code execution during victim execution.

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

CVE-2024-23681 is a high-severity 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.11.2 are vulnerable to a sandbox escape when an attacker loads untrusted libraries using System.load or System.loadLibrary. An attacker can abuse this issue to execute arbitrary Java when a victim executes the supposedly sandboxed code.

Weakness: CWE-284

Which versions are affected by CVE-2024-23681?

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.11.2
de.tum.in.ase:artemis-java-test-sandbox MavenAll versions1.11.2

Products include Ls1intum Artemis Java Test Sandbox.

How do I fix CVE-2024-23681?

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

Is CVE-2024-23681 being exploited?

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

Sources

Also known as GHSA-98hq-4wmw-98w9.

Is CVE-2024-23681 in your software?

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

Check your SBOMs for free