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

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.92%, higher than 61% of CVEs (2026-12-01)
- Published: 2024-11-20T22:46:53.000Z
- Modified: 2026-06-17T08:07:38.740Z
- Also known as: GHSA-jh6x-7xfg-9cq2
- Weaknesses: CWE-770
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- opencast opencast: >= 11.4, < 13.10; >= 14.0, < 14.3; >= 15.0, < 16.7
- org.opencastproject:opencast-elasticsearch-impl (Maven): from 11.4 before 13.10; from 14.0 before 14.3; from 15.0 before 16.7
- apereo opencast: from 11.4 before 13.10; from 14.0 before 14.3; from 15.0 before 16.7

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

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

## Sources

- CVE List: [CVE-2024-52797](https://www.cve.org/CVERecord?id=CVE-2024-52797), CVE Terms of Use, modified 2025-10-28
- GitHub Advisory Database: [GHSA-jh6x-7xfg-9cq2](https://github.com/advisories/GHSA-jh6x-7xfg-9cq2), CC-BY-4.0, modified 2025-10-28
- NVD: [CVE-2024-52797](https://nvd.nist.gov/vuln/detail/CVE-2024-52797), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-52797 · Whole record: https://cve.day/CVE-2024-52797.json · Rebuilt by cve.day 2026-11-25T22:58:48.979Z
