CVE-2024-23682
highpriority · track · 33EPSS 0.004 · 28 %ileEUUSEPSS · scored 2026-10-26
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.
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.8.0nvdUScpe:2.3:a:ls1intum:artemis_java_test_sandbox:*:*:*:*:*:*:*:*
- Maven de.tum.in.ase:artemis-java-test-sandbox< 1.8.0osvUSpkg:maven/de.tum.in.ase/artemis-java-test-sandbox
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-227w-wv4j-67h4Class Loading Vulnerability in Artemis2022-02-09ghsa · osvUS
### Impact This affects all Artemis users who test Java assignments. **Ares is not required.** Students code that gets automatically tested can run arbitrary code in the container, or arbitrary code on the machine of an assessor in case of manual correction. ### Patches The problem cannot be resolved easily in Ares itself. Use the Maven Enforcer Plugin as follows: ```xml <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> <version>3.0.0</version> <executions> <execution> <id>enforce-no-student-code-in-trusted-packages</id> <phase>process-classes</phase> <goals> <goal>enforce</goal> </goals> </execution> </executions> <configuration> <rules> <requireFilesDontExist> <files> <!-- ADD HERE THE RULES ARES TELLS YOU ARE MISSING --> </files> </requireFilesDontExist> </rules> </configuration> </plugin> ``` This fails the build if student classes reside in such packages that Ares trusts. Trusted packages added in Ares using `@AddTrustedPackage` should be added as well. ### For more information If you have any questions or comments about this advisory: * Open a discussion https://github.com/ls1intum/Ares/discussions * Open an issue in https://github.com/ls1intum/Ares/issues * Email us, see https://github.com/ls1intum/Ares/security/policy ### References See the assignment of Julius that passes the tests in TUM Artemis course: "Test - Praktikum: Grundlagen der Programmierung (Testkurs für Tutoren) - Security Tests" (if that still exists in 2022). Also see #15 for almost the same problem.
- GHSA-hj55-9jmv-9jrjDuplicate Advisory: Sandbox escape in Artemis Java Test Sandbox2024-01-19ghsa · osvUS
## Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-227w-wv4j-67h4. This link is maintained to preserve external references. ## Original 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.
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (17)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2024-23682cnnvd
- https://cxsecurity.com/cveshow/CVE-2024-23682/cnnvd
- https://github.com/advisories/GHSA-227w-wv4j-67h4cnnvd
- https://github.com/ls1intum/Ares/issues/15cnnvd
- https://github.com/ls1intum/Ares/releases/tag/1.8.0cnnvd
- https://github.com/ls1intum/Ares/security/advisories/GHSA-227w-wv4j-67h4cnnvd
- https://vulncheck.com/advisories/vc-advisory-GHSA-227w-wv4j-67h4cnnvd
- https://github.com/advisories/GHSA-227w-wv4j-67h4enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan