{"id":"CVE-2024-23681","aliases":["CVE-2024-23681","GHSA-98hq-4wmw-98w9"],"related":[],"kind":"vulnerability","state":"published","title":"Artemis Java Test Sandbox Libary Load Escape","summary":"Artemis Java Test Sandbox versions before 1.11.2 are vulnerable to a sandbox escape when an attacker loads untrusted libraries using System.load or System.loadLibrary. An attacker can abuse this issue to execute arbitrary Java when a victim executes the supposedly sandboxed code.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Artemis Java Test Sandbox versions before 1.11.2 are vulnerable to a sandbox escape when an attacker loads untrusted libraries using System.load or System.loadLibrary. An attacker can abuse this issue to execute arbitrary Java when a victim executes the supposedly sandboxed code.","source":"cvelist"},{"lang":"en","text":"### 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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Las versiones de Artemis Java Test Sandbox anteriores a 1.11.2 son vulnerables a un escape de la sandbox cuando un atacante carga librerías que no son de confianza utilizando System.load o System.loadLibrary. Un atacante puede abusar de este problema para ejecutar Java arbitrario cuando una víctima ejecuta el código supuestamente aislado.","source":"nvd"}],"published":"2023-02-10T23:52:13.000Z","modified":"2026-11-08T13:59:58.329Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","score":8.2,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","score":8.2,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","score":8.2,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","score":8.2,"rating":"HIGH"}],"cwes":["CWE-284"],"affected":[{"ranges":[{"type":"maven","introduced":"0","fixed":"1.11.2","status":"affected"}],"package":"de.tum.in.ase:artemis-java-test-sandbox","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.11.2"}],"ecosystem":"Maven","package":"de.tum.in.ase:artemis-java-test-sandbox","purl":"pkg:maven/de.tum.in.ase/artemis-java-test-sandbox","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.11.2"}],"vendor":"ls1intum","product":"artemis_java_test_sandbox","cpe":"cpe:2.3:a:ls1intum:artemis_java_test_sandbox:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/ls1intum/Ares/security/advisories/GHSA-98hq-4wmw-98w9","tags":["exploit","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/advisories/GHSA-98hq-4wmw-98w9","tags":["exploit","third-party-advisory","vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://vulncheck.com/advisories/vc-advisory-GHSA-98hq-4wmw-98w9","tags":["third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-23681","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/ls1intum/Ares","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2024-11-13T17:02:12.862Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-23681","url":"https://www.cve.org/CVERecord?id=CVE-2024-23681","licence":"CVE Terms of Use","modified":"2026-11-08T13:59:58.329Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-98hq-4wmw-98w9","url":"https://github.com/advisories/GHSA-98hq-4wmw-98w9","licence":"CC-BY-4.0","modified":"2026-07-08T06:27:25.485Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-23681","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-23681","licence":"Public domain","modified":"2026-07-14T23:17:16.040Z"}],"updatedAt":"2026-11-25T22:58:36.244Z","epss":{"score":0.00344,"percentile":0.29966,"date":"2026-12-01T12:00:22.000Z"}}