GHSA-44cw-p2hm-gpf6
Disabled Hostname Verification in Opencast
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Maven | org.opencastproject:opencast-kernel | < 7.9 | 7.9 |
| Maven | org.opencastproject:opencast-kernel | >= 8.0, < 8.9 | 8.9 |
Details
As written in the advisory (Markdown source, shown as plain text).
Opencast before version 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.
### Patches
This problem is fixed in Opencast 7.9 and Opencast 8.9
### Self-Signed Certificates
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 e.g. from [Let's Encrypt](https://letsencrypt.org).
References
External links from the advisory. They lead to third-party sites.