CVE-2021-43821
Java vulnerability analysis and mitigation

Overview

CVE-2021-43821 affects Opencast versions before 10.6, allowing attackers to reference local file URLs in ingested media packages. This vulnerability was discovered and disclosed on December 14, 2021. The issue affects the opencast-ingest-service-impl Maven package and impacts Opencast installations running versions prior to 10.6 (GitHub Advisory).

Technical details

The vulnerability stems from Opencast's ingest service implementation allowing references to local file URLs during media package ingestion. The service would open and include local files during ingests without proper validation, enabling access to files that the Opencast process has read permissions for. The issue is tracked as CWE-552, indicating an unsafe file access vulnerability (GitHub Advisory).

Impact

An attacker with privileges to add new media could exploit this vulnerability to extract sensitive files from the host machine through the web interface. For example, they could access configuration files like custom.properties by submitting a specially crafted request to the ingest endpoint. While the attack requires media addition privileges, these permissions are commonly granted to many users (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in Opencast versions 10.6 and 11.0. For systems that cannot be immediately updated, mitigation can be achieved by restricting Opencast's read access to files using UNIX permissions or mandatory access control systems like SELinux. However, this workaround cannot prevent access to files that Opencast needs to read, making updating to a patched version the recommended solution (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-66516CRITICAL10
  • JavaJava
  • tika
NoYesDec 04, 2025
CVE-2025-66566HIGH8.2
  • JavaJava
  • org.lz4:lz4-java
NoYesDec 05, 2025
CVE-2025-66623HIGH7.4
  • JavaJava
  • io.strimzi:strimzi
NoYesDec 05, 2025
CVE-2025-11222MEDIUM6.1
  • JavaJava
  • com.linecorp.centraldogma:centraldogma-server-auth-shiro
NoYesDec 04, 2025
CVE-2025-66453MEDIUM5.5
  • JavaJava
  • org.mozilla:rhino
NoYesDec 03, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management