CVE-2024-52797
Searching Opencast may cause a denial of service
Also known as GHSA-jh6x-7xfg-9cq2
Mitigation
- Upgrade org.opencastproject:opencast-elasticsearch-impl to one of 13.10, 14.3, 16.7 (or later in the same release line).
Who should check
- Projects that depend on Maven package org.opencastproject:opencast-elasticsearch-impl (>= 11.4, < 13.10)
- Anyone running opencast >= 11.4, < 13.10; >= 14.0, < 14.3; >= 15.0, < 16.7
Vulnerability facts
- Affected
- org.opencastproject:opencast-elasticsearch-impl >= 11.4, < 13.10
- Fixed in
- 13.10, 14.3, 16.7
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 6.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 1.06% chance of exploitation in 30 days (percentile 64, 2026-11-26)
- CWE
- CWE-770
- Modified
Description
Opencast is free and open source software for automated video capture and distribution. 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. Opencast 13.10 and Opencast 14.3 contain patches 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 soon as possible if running versions prior to 13.10 or 14.3. While the relevant endpoints require (by default) `ROLE_ADMIN` or `ROLE_API_SERIES_VIEW`, the problem queries are otherwise innocuous. This issue could be easily triggered by normal administrative work on an affected Opencast system. Those who run a version newer than 13.10 and 14.3 and see different results when searching in their admin UI vs your external API or LMS, may resolve the issue by upgrading to 16.7. No known workarounds for the vulnerability are available.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.opencastproject:opencast-elasticsearch-impl | >= 11.4, < 13.10 | 13.10, 14.3, 16.7 | osv |
| opencast | >= 11.4, < 13.10; >= 14.0, < 14.3; >= 15.0, < 16.7 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-52797. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-52797.md Affected: org.opencastproject:opencast-elasticsearch-impl >= 11.4, < 13.10 Fixed in: 13.10, 14.3, 16.7 Steps: 1. Search this machine and project for org.opencastproject:opencast-elasticsearch-impl (Maven), opencast: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
FAQ
Is CVE-2024-52797 being exploited?
There is no confirmed exploitation: CVE-2024-52797 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.06% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-52797?
Medium: CVSS 6.5 (v3.1, scored by CNA). Remote, login needed.
Which versions are affected by CVE-2024-52797?
org.opencastproject:opencast-elasticsearch-impl >= 11.4, < 13.10.
Is there a fix for CVE-2024-52797?
Yes. Fixed in 13.10, 14.3, 16.7. Upgrade org.opencastproject:opencast-elasticsearch-impl to one of 13.10, 14.3, 16.7 (or later in the same release line).
How do I check if I'm affected by CVE-2024-52797?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.