CVE-2024-23681: Artemis java test sandbox Artemis-java-test-sandbox Vulnerability
HIGHCVE-2024-23681 is a HIGH (CVSS 8.2) artemis-java-test-sandbox vulnerability (CWE-284: Improper Access Control) affecting Artemis java test sandbox libraries in the Maven ecosystem. The issue involves artemis-java-test-sandbox. Remediation is available by upgrading affected packages to version 1.11.2.
CVE-2024-23681 at a Glance
Security Impact
CVSS: 8.2
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H).
How to Fix CVE-2024-23681
To remediate this vulnerability, upgrade all affected Artemis java test sandbox dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>de.tum.in.ase</groupId>
<artifactId>artemis-java-test-sandbox</artifactId>
<version>1.11.2</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=de.tum.in.ase
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2024-23681, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=de.tum.in.ase
Analyze the terminal output to locate any version of Artemis java test sandbox in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.11.2), your application is affected.
Note: The mvn dependency:tree -Dincludes=de.tum.in.ase command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-284: Improper Access Control, where the product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. In Artemis java test sandbox, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-23681 Affected Artemis java test sandbox Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
de.tum.in.ase:artemis-java-test-sandbox
|
Maven |
< 1.11.2
|
1.11.2
|
References
Frequently Asked Questions
What is CVE-2024-23681?
Which Artemis java test sandbox versions are affected?
What version fixes CVE-2024-23681?
Is artemis-java-test-sandbox affected?
What is the CVSS score of CVE-2024-23681?
What CWE is associated with CVE-2024-23681?
How can I check Maven dependencies for CVE-2024-23681?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-98hq-4wmw-98w9",
"modified" : "2026-01-22T20:31:06Z",
"published" : "2023-02-10T23:52:13Z",
"aliases" : [ "CVE-2024-23681" ],
"summary" : "Arbitrary code execution in de.tum.in.ase:artemis-java-test-sandbox",
"details" : "### Summary\nBecause of the missing `checkLink(String)` override in the SecurityManager, students can load libraries and execute arbitrary code.\n\n### Details\nUsing `System.load(String)` or `System.loadLibrary(String)` students can load and execute arbitrary code.\n\n```java\nprivate static native void start(List<String> args);\n\npublic static void main(String[] args) {\n System.load(new File(\"path_to_lib.so\").getAbsolutePath());\n start(List.of(args));\n}\n```\n\nAdding this to the security manager (and a translation) should fix the issue:\n```java\n@Override\npublic void checkExec(String cmd) {\n try {\n if (enterPublicInterface())\n return;\n throw new SecurityException(localized(\"security.error_link\")); //$NON-NLS-1$\n } finally {\n exitPublicInterface();\n }\n}\n```\n\n### PoC\nSee details.\n\n### Impact\nArbitrary code execution.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "de.tum.in.ase:artemis-java-test-sandbox"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.11.2"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/ls1intum/Ares/security/advisories/GHSA-98hq-4wmw-98w9"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-23681"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/ls1intum/Ares"
}, {
"type" : "WEB",
"url" : "https://vulncheck.com/advisories/vc-advisory-GHSA-98hq-4wmw-98w9"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-284" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-02-10T23:52:13Z",
"nvd_published_at" : null
}
}