{"answers":{"affected":"6 open source packages ship an affected version, including org.opencastproject:opencast-elasticsearch-impl. It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-52797 in the wild and no public exploit code.","fix":"Upgrade org.opencastproject:opencast-elasticsearch-impl to a fixed version for your release line: 13.10, 14.3 or 16.7.","what":"CVE-2024-52797 is a medium-severity denial of service vulnerability in opencast, published on 21 Nov 2024. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-52797 and fix it if it is affected.\n\nWhat it is: CVE-2024-52797 is a medium-severity denial of service vulnerability in opencast, published on 21 Nov 2024. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-52797 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.opencastproject:opencast-elasticsearch-impl (Maven): affected from 11.4; fixed in 13.10\n- org.opencastproject:opencast-elasticsearch-impl (Maven): affected from 11.4; fixed in 13.10\n- org.opencastproject:opencast-elasticsearch-impl (Maven): affected from 14.0; fixed in 14.3\n- org.opencastproject:opencast-elasticsearch-impl (Maven): affected from 14.0; fixed in 14.3\n- org.opencastproject:opencast-elasticsearch-impl (Maven): affected from 15.0; fixed in 16.7\n- org.opencastproject:opencast-elasticsearch-impl (Maven): affected from 15.0; fixed in 16.7\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-52797/ (Markdown: https://insights.sbomify.com/CVE-2024-52797/index.md)","id":"CVE-2024-52797","markdown":"https://insights.sbomify.com/CVE-2024-52797/index.md","name":"CVE-2024-52797","record":{"aliases":["GHSA-jh6x-7xfg-9cq2"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Video capture platform","requires_auth":"low_privilege","summary":"Attackers with admin or API view roles can trigger infinite retry loops via invalid search queries, causing disk exhaustion and denial of service.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"opencast","vendor":"apereo"}],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"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.\n\nOpencast 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.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Searching Opencast may cause a denial of service","id":"CVE-2024-52797","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"denial_of_service","year":"2024"},"n_packages":6,"n_references":4,"next":{"headline":"path-to-regexp Unpatched `path-to-regexp` ReDoS in 0.1.x","id":"CVE-2024-52798"},"packages":[{"ecosystem":"Maven","fixed":["13.10"],"introduced":["11.4"],"last_affected":[],"package":"org.opencastproject:opencast-elasticsearch-impl","purl":null,"source":"GHSA-jh6x-7xfg-9cq2"},{"ecosystem":"Maven","fixed":["13.10"],"introduced":["11.4"],"last_affected":[],"package":"org.opencastproject:opencast-elasticsearch-impl","purl":"pkg:maven/org.opencastproject/opencast-elasticsearch-impl","source":"GHSA-jh6x-7xfg-9cq2"},{"ecosystem":"Maven","fixed":["14.3"],"introduced":["14.0"],"last_affected":[],"package":"org.opencastproject:opencast-elasticsearch-impl","purl":null,"source":"GHSA-jh6x-7xfg-9cq2"},{"ecosystem":"Maven","fixed":["14.3"],"introduced":["14.0"],"last_affected":[],"package":"org.opencastproject:opencast-elasticsearch-impl","purl":"pkg:maven/org.opencastproject/opencast-elasticsearch-impl","source":"GHSA-jh6x-7xfg-9cq2"},{"ecosystem":"Maven","fixed":["16.7"],"introduced":["15.0"],"last_affected":[],"package":"org.opencastproject:opencast-elasticsearch-impl","purl":null,"source":"GHSA-jh6x-7xfg-9cq2"},{"ecosystem":"Maven","fixed":["16.7"],"introduced":["15.0"],"last_affected":[],"package":"org.opencastproject:opencast-elasticsearch-impl","purl":"pkg:maven/org.opencastproject/opencast-elasticsearch-impl","source":"GHSA-jh6x-7xfg-9cq2"}],"prev":{"headline":"Password Pusher's rate limiter can be bypassed by forging proxy headers","id":"CVE-2024-52796"},"products":["opencast"],"published":"2024-11-21","related":[{"cvss_score":9.9,"headline":"Files Accessible to External Parties in Opencast","id":"CVE-2021-43821","kev_date_added":null,"published":"2021-12-14"},{"cvss_score":8.7,"headline":"Authentication Bypass For Endpoints With Anonymous Access in OpenCast","id":"CVE-2020-5206","kev_date_added":null,"published":"2020-01-30"},{"cvss_score":8.1,"headline":"Opencast vulnerable to billion laughs attack (XML bomb)","id":"CVE-2021-32623","kev_date_added":null,"published":"2021-06-15"},{"cvss_score":7.7,"headline":"Opencast stores passwords using outdated MD5 hash algorithm","id":"CVE-2020-5229","kev_date_added":null,"published":"2020-01-30"},{"cvss_score":7.7,"headline":"Opencast uses unsafe identifiers","id":"CVE-2020-5230","kev_date_added":null,"published":"2020-01-30"},{"cvss_score":7.6,"headline":"Opencast allows unauthorized public access via OAI-PMH","id":"CVE-2020-5228","kev_date_added":null,"published":"2020-01-30"},{"cvss_score":7.5,"headline":"Opencast publishes global system account credentials","id":"CVE-2018-16153","kev_date_added":null,"published":"2023-12-12"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-10-28","vendors":["opencast"]},"summary":"Attackers with admin or API view roles can trigger infinite retry loops via invalid search queries, causing disk exhaustion and denial of service.","url":"https://insights.sbomify.com/CVE-2024-52797/"}