Medium, CVSS 6.5MavenPublished
Searching Opencast may cause a denial of service
CVE-2024-52797 · GHSA-jh6x-7xfg-9cq2
- Affected
- Maven org.opencastproject:opencast-elasticsearch-impl >= 14.0, < 14.3; >= 15.0, <= 16.6; >= 11.4, < 13.10
- Fixed in
- 16.713.1014.3· Vendor fix available
- Issue
- Impact First noticed in Opencast 13 and 14, Opencast's Elasticsearch integration may generate syntactically invalid Elasticsearch queries in relation to previously acceptable search queries. From Opencast version 11.4 and newer, Elasticsearch queries are retried a configurable number of times in the case of error to handle temporary losses of connection to Elasticsearch. These invalid queries would fail, causing the retry mechanism to begin requerying with the same syntactically invalid query immediately, in an infinite loop. This causes a massive increase in log size which can in some cases cause a denial of service due to disk exhaustion. Patches Opencast 13.10 and Opencast 14.3 contain patches (https://github.com/opencast/opencast/pull/5150, and https://github.com/opencast/opencast/pull/5033) which address the base issue, with Opencast 16.7 containing changes which harmonize the search behaviour between the admin UI and external API. Users are strongly recommended to upgrade as…
Recommended action: Upgrade to 16.7, 14.3 or 13.10 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.