CVE-2024-23683
Java vulnerability analysis and mitigation

Overview

Artemis Java Test Sandbox versions less than 1.7.6 contain a sandbox escape vulnerability (CVE-2024-23683) that was discovered in January 2024. The vulnerability affects the de.tum.in.ase/artemis-java-test-sandbox package from the Maven package manager, allowing attackers to escape the sandbox environment through a specially crafted subclass of InvocationTargetException (CVE Details, FortiGuard).

Technical details

The vulnerability occurs when an attacker crafts a special subclass of InvocationTargetException that can bypass exception sanitization. This is possible because JUnit extracts the cause in a trusted context before the exception reaches Ares. The vulnerability exploits the way JUnit's ReflectionUtils.getUnderlyingCause handles InvocationTargetException instances, allowing malicious code to execute in a trusted context (GitHub Advisory).

Impact

When successfully exploited, this vulnerability allows an attacker to execute arbitrary Java code when a victim executes supposedly sandboxed code. The attacker can gain full control over the system, including the ability to disable the ArtemisSecurityManager, which enables reading and writing files, opening network connections, and executing arbitrary shell commands (GitHub Advisory).

Mitigation and workarounds

The primary mitigation is to update to version 1.7.6 or later of the Artemis Java Test Sandbox. As a workaround, organizations can forbid student classes in trusted packages as described in the project's issue tracker. The fix in version 1.7.6 includes blacklisting ReflectionUtils.getUnderlyingCause in the invocation process (GitHub Release).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-15104MEDIUM6.9
  • JavaScriptJavaScript
  • vnu-jar
NoNoJan 16, 2026
CVE-2026-1002MEDIUM6.9
  • JavaJava
  • apicurio-registry
NoYesJan 15, 2026
CVE-2025-66169MEDIUM5.3
  • JavaJava
  • org.apache.camel:camel-neo4j
NoYesJan 14, 2026
CVE-2026-0858MEDIUM5.1
  • JavaJava
  • net.sourceforge.plantuml:plantuml
NoYesJan 16, 2026
CVE-2026-0976LOW3.7
  • JavaJava
  • keycloak
NoYesJan 15, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management