Class Loading Vulnerability in Artemis
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:
<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.
Software afectado
Haz clic en una tecnología para ver todas sus vulnerabilidades.
| Plataforma | Paquete | Versiones vulnerables | Corregida en |
|---|---|---|---|
| Java / Kotlin (Maven) | de.tum.in.ase:artemis-java-test-sandbox | < 1.8.0 | 1.8.0 |
Referencias
- https://github.com/ls1intum/Ares/security/advisories/GHSA-227w-wv4j-67h4
- https://nvd.nist.gov/vuln/detail/CVE-2024-23682
- https://github.com/ls1intum/Ares/issues/15
- https://github.com/ls1intum/Ares
- https://github.com/ls1intum/Ares/releases/tag/1.8.0
- https://vulncheck.com/advisories/vc-advisory-GHSA-227w-wv4j-67h4
- Vector CVSS
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H- Debilidad (CWE)
CWE-501, CWE-653- Plataforma
- Java / Kotlin (Maven)
- Paquete
de.tum.in.ase:artemis-java-test-sandbox- Publicada
- 09.02.2022
- Actualizado
- 11.10.2026 12:22
Fuentes y licencias
OSV / GitHub Advisory Database - GHSA-227w-wv4j-67h4 - CC BY 4.0
Historial de vulnerabilidades: de.tum.in.ase:artemis-java-test-sandbox
Todas las vulnerabilidades publicadas de este paquete (Java / Kotlin (Maven)), de la más reciente a la más antigua. Muestra si es un fallo aislado o un paquete que hay que vigilar.
- Entradas en total
- 3
- Primera → última
- 01.2022 02.2023
- Sin corrección
- 0
- Explotada en ataques
- 0
Distribución por gravedad
- Alta 3
Divulgaciones por año
- 2022: 2
- 2023: 1
- 2024: 0
- 2025: 0
- 2026: 0
-
Class Loading Vulnerability in Artemis esta entrada
Identifica las vulnerabilidades de tu aplicación
Con la integración de DockRay y el inventario de software activado, DockRay compara las versiones notificadas de los componentes con las vulnerabilidades conocidas y avisa de las coincidencias confirmadas. La cobertura depende de la tecnología compatible y de los avisos disponibles.