{"answers":{"affected":"2 open source packages ship an affected version, including org.opencastproject:opencast-ingest-service-impl. It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-43821 in the wild and no public exploit code.","fix":"Upgrade org.opencastproject:opencast-ingest-service-impl to 10.6 or later.","what":"CVE-2021-43821 is a critical path traversal vulnerability in opencast, published on 14 Dec 2021. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-43821 and fix it if it is affected.\n\nWhat it is: CVE-2021-43821 is a critical path traversal vulnerability in opencast, published on 14 Dec 2021. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2021-43821 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.opencastproject:opencast-ingest-service-impl (Maven): affected all versions; fixed in 10.6\n- org.opencastproject:opencast-ingest-service-impl (Maven): affected all versions; fixed in 10.6\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-2021-43821/ (Markdown: https://insights.sbomify.com/CVE-2021-43821/index.md)","id":"CVE-2021-43821","markdown":"https://insights.sbomify.com/CVE-2021-43821/index.md","name":"CVE-2021-43821","record":{"aliases":["GHSA-59g4-hpg3-3gcp"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Opencast video platform","requires_auth":"low_privilege","summary":"Attackers with media upload privileges can access local files on the host machine via URL references, potentially exposing sensitive secrets.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"opencast","vendor":"apereo"}],"cvss":{"score":9.9,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-552","name":"Files or Directories Accessible to External Parties"}],"description":"Opencast is an Open Source Lecture Capture \u0026 Video Management for Education. Opencast before version 9.10 or 10.6 allows references to local file URLs in ingested media packages, allowing attackers to include local files from Opencast's host machines and making them available via the web interface. Before Opencast 9.10 and 10.6, Opencast would open and include local files during ingests. Attackers could exploit this to include most local files the process has read access to, extracting secrets from the host machine. An attacker would need to have the privileges required to add new media to exploit this. But these are often widely given. The issue has been fixed in Opencast 10.6 and 11.0. You can mitigate this issue by narrowing down the read access Opencast has to files on the file system using UNIX permissions or mandatory access control systems like SELinux. This cannot prevent access to files Opencast needs to read though and we highly recommend updating.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":"2021-12-26","github_poc":1,"max_poc_stars":3,"metasploit":0,"nuclei":0,"refs":[{"date":"2021-12-26T09:04:43Z","kind":"github_poc","ref":"https://github.com/Jackey0/opencast-CVE-2021-43821-env","stars":3,"title":"opencast cve-2021-43821敏感信息泄露漏洞环境"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Files Accessible to External Parties in Opencast","id":"CVE-2021-43821","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"path_traversal","year":"2021"},"n_packages":2,"n_references":4,"next":{"headline":"SQL injection in jackalope/jackalope-doctrine-dbal","id":"CVE-2021-43822"},"packages":[{"ecosystem":"Maven","fixed":["10.6"],"introduced":["0"],"last_affected":[],"package":"org.opencastproject:opencast-ingest-service-impl","purl":null,"source":"GHSA-59g4-hpg3-3gcp"},{"ecosystem":"Maven","fixed":["10.6"],"introduced":["0"],"last_affected":[],"package":"org.opencastproject:opencast-ingest-service-impl","purl":"pkg:maven/org.opencastproject/opencast-ingest-service-impl","source":"GHSA-59g4-hpg3-3gcp"}],"prev":{"headline":"Permissions check bypass in Seafile","id":"CVE-2021-43820"},"products":["opencast"],"published":"2021-12-14","related":[{"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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["opencast"]},"summary":"Attackers with media upload privileges can access local files on the host machine via URL references, potentially exposing sensitive secrets.","url":"https://insights.sbomify.com/CVE-2021-43821/"}