From 3b5f78001ab89aa597f955b042ffeff2ce9205d4 Mon Sep 17 00:00:00 2001 From: "advisory-database[bot]" <45398580+advisory-database[bot]@users.noreply.github.com> Date: Wed, 20 Nov 2024 22:48:32 +0000 Subject: [PATCH] Publish GHSA-jh6x-7xfg-9cq2 --- .../GHSA-jh6x-7xfg-9cq2.json | 103 ++++++++++++++++++ 1 file changed, 103 insertions(+) create mode 100644 advisories/github-reviewed/2024/11/GHSA-jh6x-7xfg-9cq2/GHSA-jh6x-7xfg-9cq2.json diff --git a/advisories/github-reviewed/2024/11/GHSA-jh6x-7xfg-9cq2/GHSA-jh6x-7xfg-9cq2.json b/advisories/github-reviewed/2024/11/GHSA-jh6x-7xfg-9cq2/GHSA-jh6x-7xfg-9cq2.json new file mode 100644 index 0000000000000..5e355b65b52a8 --- /dev/null +++ b/advisories/github-reviewed/2024/11/GHSA-jh6x-7xfg-9cq2/GHSA-jh6x-7xfg-9cq2.json @@ -0,0 +1,103 @@ +{ + "schema_version": "1.4.0", + "id": "GHSA-jh6x-7xfg-9cq2", + "modified": "2024-11-20T22:46:54Z", + "published": "2024-11-20T22:46:53Z", + "aliases": [ + "CVE-2024-52797" + ], + "summary": "Searching Opencast may cause a denial of service", + "details": "### Impact\nFirst 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\n### Patches\nOpencast 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 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. If you are running a version newer than 13.10 and 14.3 *and* seeing different results when searching in your admin UI vs your external API or LMS, upgrading to 16.7 should resolve the issue.\n\n### Workarounds\nNone identified.\n\n### References\nPull Requests\n- Preventing the infinite loop issue: https://github.com/opencast/opencast/pull/5150\n- Sanitizing user input: https://github.com/opencast/opencast/pull/5033\n\n### If you have any questions or comments about this advisory:\nOpen an issue in [our issue tracker](https://github.com/opencast/opencast/issues)\nEmail us at [security@opencast.org](mailto:security@opencast.org)\n\n### Credit\nCredit to Adilagha Aliyev of Graz University of Technology, Educational Technologies, adilagha.aliyev@gmail.com", + "severity": [ + { + "type": "CVSS_V3", + "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H" + } + ], + "affected": [ + { + "package": { + "ecosystem": "Maven", + "name": "org.opencastproject:opencast-elasticsearch-impl" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0" + }, + { + "fixed": "13.10" + } + ] + } + ] + }, + { + "package": { + "ecosystem": "Maven", + "name": "org.opencastproject:opencast-elasticsearch-impl" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "14.0" + }, + { + "fixed": "14.3" + } + ] + } + ] + }, + { + "package": { + "ecosystem": "Maven", + "name": "org.opencastproject:opencast-elasticsearch-impl" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "15.0" + }, + { + "last_affected": "16.6" + } + ] + } + ] + } + ], + "references": [ + { + "type": "WEB", + "url": "https://github.com/opencast/opencast/security/advisories/GHSA-jh6x-7xfg-9cq2" + }, + { + "type": "WEB", + "url": "https://github.com/opencast/opencast/pull/5033" + }, + { + "type": "WEB", + "url": "https://github.com/opencast/opencast/pull/5150" + }, + { + "type": "PACKAGE", + "url": "https://github.com/opencast/opencast" + } + ], + "database_specific": { + "cwe_ids": [ + "CWE-770" + ], + "severity": "MODERATE", + "github_reviewed": true, + "github_reviewed_at": "2024-11-20T22:46:53Z", + "nvd_published_at": null + } +} \ No newline at end of file