CVE-2024-23681
highpriority · track · 33EPSS 0.003 · 28 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (2)
Products and version ranges known to be affected.
- ls1intum artemis java test sandbox< 1.11.2nvdUScpe:2.3:a:ls1intum:artemis_java_test_sandbox:*:*:*:*:*:*:*:*
- Maven de.tum.in.ase:artemis-java-test-sandbox< 1.11.2osvUSpkg:maven/de.tum.in.ase/artemis-java-test-sandbox
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-98hq-4wmw-98w9Arbitrary code execution in de.tum.in.ase:artemis-java-test-sandbox2023-02-10ghsa · osvUS
### Summary Because of the missing `checkLink(String)` override in the SecurityManager, students can load libraries and execute arbitrary code. ### Details Using `System.load(String)` or `System.loadLibrary(String)` students can load and execute arbitrary code. ```java private static native void start(List<String> args); public static void main(String[] args) { System.load(new File("path_to_lib.so").getAbsolutePath()); start(List.of(args)); } ``` Adding this to the security manager (and a translation) should fix the issue: ```java @Override public void checkExec(String cmd) { try { if (enterPublicInterface()) return; throw new SecurityException(localized("security.error_link")); //$NON-NLS-1$ } finally { exitPublicInterface(); } } ``` ### PoC See details. ### Impact Arbitrary code execution.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (12)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2024-23681cnnvd
- https://cxsecurity.com/cveshow/CVE-2024-23681/cnnvd
- https://github.com/advisories/GHSA-98hq-4wmw-98w9cnnvd
- https://github.com/ls1intum/Ares/releases/tag/1.11.2Patchcnnvd
- https://github.com/ls1intum/Ares/security/advisories/GHSA-98hq-4wmw-98w9cnnvd
- https://vulncheck.com/advisories/vc-advisory-GHSA-98hq-4wmw-98w9cnnvd
- https://github.com/advisories/GHSA-98hq-4wmw-98w9enisa_euvd
- https://github.com/ls1intum/Ares/security/advisories/GHSA-98hq-4wmw-98w9enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan