Description
Opencast before versions 8.9 and 7.9 disables HTTPS hostname verification of its HTTP client used for a large portion of Opencast's HTTP requests. Hostname verification is an important part when using HTTPS to ensure that the presented certificate is valid for the host. Disabling it can allow for man-in-the-middle attacks. This problem is fixed in Opencast 7.9 and Opencast 8.8 Please be aware that fixing the problem means that Opencast will not simply accept any self-signed certificates any longer without properly importing them. If you need those, please make sure to import them into the Java key store. Better yet, get a valid certificate.
Remediation
References
https://github.com/opencast/opencast/commit/4225bf90af74557deaf8fb6b80b0705c9621acfc
https://github.com/opencast/opencast/security/advisories/GHSA-44cw-p2hm-gpf6
Related Vulnerabilities
CVE-2017-1000452 Vulnerability in npm package samlify
CVE-2016-10735 Vulnerability in maven package org.webjars:bootstrap-sass
CVE-2022-36905 Vulnerability in maven package eu.markov.jenkins.plugin.mvnmeta:maven-metadata-plugin
CVE-2021-24033 Vulnerability in maven package org.webjars.npm:react-dev-utils
CVE-2022-25858 Vulnerability in maven package org.webjars.npm:terser