Description
Opencast before 8.1 and 7.6 allows almost arbitrary identifiers for media packages and elements to be used. This can be problematic for operation and security since such identifiers are sometimes used for file system operations which may lead to an attacker being able to escape working directories and write files to other locations. In addition, Opencast's Id.toString(…) vs Id.compact(…) behavior, the latter trying to mitigate some of the file system problems, can cause errors due to identifier mismatch since an identifier may unintentionally change. This issue is fixed in Opencast 7.6 and 8.1.
Remediation
References
https://github.com/opencast/opencast/commit/bbb473f34ab95497d6c432c81285efb0c739f317
https://github.com/opencast/opencast/security/advisories/GHSA-w29m-fjp4-qhmq
Related Vulnerabilities
CVE-2022-28820 Vulnerability in maven package com.adobe.acs:acs-aem-commons-ui.apps
CVE-2021-25979 Vulnerability in npm package apostrophe
CVE-2013-7315 Vulnerability in maven package org.springframework:spring-web
CVE-2022-29219 Vulnerability in npm package @chainsafe/lodestar
CVE-2018-20676 Vulnerability in maven package org.webjars.bowergithub.twbs:bootstrap-sass