Arbitrary Code Execution Affecting de.tum.in.ase:artemis-java-test-sandbox package, versions [,1.7.6)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (20th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Code Execution vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-DETUMINASE-2359035
  • published23 Jan 2022
  • disclosed21 Jan 2022
  • creditDaniel Kirschten

Introduced: 21 Jan 2022

CVE-2024-23683  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade de.tum.in.ase:artemis-java-test-sandbox to version 1.7.6 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Code Execution by allowing an attacker to create special subclasses of InvocationTargetException that escape the exception sanitization. This is because JUnit extracts the cause in a trusted context before the exception reaches Ares. This means that arbitrary student code can be executed in a trusted context, and that in turn allows disabling Ares and having full control over the system.

CVSS Scores

version 3.1