# CVE-2024-52797: Searching Opencast may cause a denial of service

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.5
- **CVSS:** 6.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 1.06% (percentile 64, 2026-11-26)
- **CWE:** CWE-770
- **Aliases:** GHSA-jh6x-7xfg-9cq2
- **Published:** 2024-11-20T22:46:53.000Z
- **Modified:** 2026-06-17T08:07:38.740Z

## 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

## 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

- Maven `org.opencastproject:opencast-elasticsearch-impl`: affected \>= 11.4, \< 13.10; fixed 13.10, 14.3, 16.7 (osv)
- opencast: \>= 11.4, \< 13.10; \>= 14.0, \< 14.3; \>= 15.0, \< 16.7 (cvelist)

## Mitigation

- Upgrade org.opencastproject:opencast-elasticsearch-impl to one of 13.10, 14.3, 16.7 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- vendor: <https://github.com/opencast/opencast/security/advisories/GHSA-jh6x-7xfg-9cq2>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2024-52797>
- patch: <https://github.com/opencast/opencast/pull/5033>
- patch: <https://github.com/opencast/opencast/pull/5150>
- patch: <https://github.com/opencast/opencast/commit/3d5ebd163674eb18e070f52b64a18f92188f98c3>
- other: <https://github.com/opencast/opencast>
- other: <https://github.com/opencast/opencast/blob/7ad05f72814f057130122904015d471cfe5f4c58/docs/guides/admin/docs/changelog/older-versions/opencast-16.md?plain=1#L74>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-52797>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-jh6x-7xfg-9cq2> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2024-52797> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-52797>
