CVE-2021-21318

Source
https://cve.org/CVERecord?id=CVE-2021-21318
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-21318.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-21318
Related
  • GHSA-vpc2-3wcv-qj4w
Published
2021-02-18T18:15:11.490Z
Modified
2026-01-30T10:23:18.946299Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L CVSS Calculator
Summary
[none]
Details

Opencast is a free, open-source platform to support the management of educational audio and video content. In Opencast before version 9.2 there is a vulnerability in which publishing an episode with strict access rules will overwrite the currently set series access. This allows for an easy denial of access for all users without superuser privileges, effectively hiding the series. Access to series and series metadata on the search service (shown in media module and player) depends on the events published which are part of the series. Publishing an event will automatically publish a series and update access to it. Removing an event or republishing the event should do the same. Affected versions of Opencast may not update the series access or remove a published series if an event is being removed. On removal of an episode, this may lead to an access control list for series metadata with broader access rules than the merged access rules of all remaining events, or the series metadata still being available although all episodes of that series have been removed. This problem is fixed in Opencast 9.2.

References

Affected packages

Git / github.com/opencast/opencast

Affected ranges

Type
GIT
Repo
https://github.com/opencast/opencast
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

1.*
1.4.0
1.4.1
1.4.2
1.4.2-rc2
1.4.3
1.4.4
1.4.4-rc1
1.5.0
1.5.0-rc1
1.5.0-rc2
1.5.0-rc3
1.5.0-rc4
1.5.0-rc5
1.5.0-rc6
1.5.0-rc7
1.5.1
1.6.0
1.6.0-RC1
1.6.0-beta1
1.6.0-beta2
1.6.0-beta3
1.6.0-beta4
1.6.1-RC1
2.*
2.0.0-beta1
2.0.0-beta2

Database specific

vanir_signatures
[
    {
        "target": {
            "file": "modules/search-service-impl/src/main/java/org/opencastproject/search/impl/persistence/SearchEntity.java"
        },
        "id": "CVE-2021-21318-192c16ed",
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "76137845150516649859992889846902656653",
                "118292120149911042616514185896280679235",
                "55489119598684826988781998746340947601",
                "189351237019655015304841746411980394607"
            ],
            "threshold": 0.9
        },
        "signature_type": "Line",
        "source": "https://github.com/opencast/opencast/commit/b18c6a7f81f08ed14884592a6c14c9ab611ad450",
        "signature_version": "v1"
    },
    {
        "target": {
            "file": "modules/search-service-impl/src/main/java/org/opencastproject/search/impl/solr/SolrIndexManager.java"
        },
        "id": "CVE-2021-21318-22b4b726",
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "333261066394696225435583557883234835502",
                "91772186794616247752685588536415773354",
                "225704499431003772299979625712915491139",
                "247205590334595718431634377110920961371",
                "161349336744601109198625102307514852890",
                "214245674541579553529270096460416055153",
                "100306878738797850923618894690394245705",
                "81559783903509949447892206883948931304",
                "60129743888114475301579821391839611725",
                "339584246243340884218172581280281521499",
                "189361891577282433324269403818333047657",
                "275683248237637897736255652100826204750",
                "36024466245543642864905670640953024204",
                "264960456501691180172020864683686795353",
                "143315941767577152115014010759997791589",
                "53511697827456941814217097385562450005",
                "305847557672616164206058576094811540307",
                "168559369252157277990285437482507144812",
                "262008549035706759236837070756762269911",
                "122912094418479153583636887842478982481",
                "261571061037967364081467803412289355892",
                "304016084269710998197758742553427147515",
                "72212191125877778147911555646605373672",
                "259166014513242526386133093626636162183"
            ],
            "threshold": 0.9
        },
        "signature_type": "Line",
        "source": "https://github.com/opencast/opencast/commit/b18c6a7f81f08ed14884592a6c14c9ab611ad450",
        "signature_version": "v1"
    },
    {
        "target": {
            "file": "modules/search-service-impl/src/main/java/org/opencastproject/search/impl/persistence/SearchServiceDatabaseImpl.java"
        },
        "id": "CVE-2021-21318-73324e3d",
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "77558499987720354099064204824773444636",
                "197346509397101106796280352338069949455",
                "249796067917407028918749413761484615221",
                "244292501856282621030630747617547640999",
                "110312755560825109601559100186550229535",
                "37014551786187557465390461382240195440",
                "124406369753123047334025335496443879218",
                "6666022785328713082559267578880014793",
                "333372468413672958778156186994283093003",
                "312364939789657397631857003594419496622",
                "148921170918177759470106834500839540789",
                "49839475568469647067816211628124171150",
                "50676861287681461758000554945388901934",
                "296222263158448431276927822555340091294",
                "25416589561082858670956080720890612303",
                "28794265513859073513039311203999360087",
                "107273902848458488268600574077690878129",
                "277366689168403571617167623355702069822",
                "138820993700604374999671802212590381005"
            ],
            "threshold": 0.9
        },
        "signature_type": "Line",
        "source": "https://github.com/opencast/opencast/commit/b18c6a7f81f08ed14884592a6c14c9ab611ad450",
        "signature_version": "v1"
    },
    {
        "target": {
            "file": "modules/search-service-impl/src/main/java/org/opencastproject/search/impl/SearchServiceImpl.java"
        },
        "id": "CVE-2021-21318-8a43db2d",
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "188861361928485078072017279973864116808",
                "233044306490804555704799513091716462066",
                "64521339309357322207988281815980485712",
                "251455827522662062709123828807137477437",
                "127119567892244899819083263610994704381",
                "336066060306067737561502111055881477304",
                "90696927913829394633708320987647785581",
                "50458316001734949829184475983594236842",
                "185510074110399794360596786800317446200",
                "262528431284922890633504970988084644921",
                "99477243443598870585043852920608756893",
                "249699641521991272014486535282274067045",
                "189453616445917772583774538430969993194",
                "324586728309600408371677184454737513313",
                "184416716790273645329629761881644746094",
                "290705084972464675837985704561361320647",
                "292723663188293892123689913159003842026",
                "339791268469058742679745846409543402777",
                "30386960957129211164274720527187330065",
                "230952084294371784480235945979952908715",
                "39525409108665579984852380299366419027",
                "103789664483071097373700490046095366086",
                "258599408794798221558619952905980145829",
                "158179068298044214739553922013030952257",
                "107959189072677255407989812957075283201",
                "228655837044985253698741391740004599083",
                "305213149303380274857686099520015537250",
                "311762067499711732555346081354217747207",
                "67858971957184178894209624541758277342",
                "99629731784312838978773198673409295747",
                "146738099810251600674915457535869274869",
                "50226602842683211218110789903023393540",
                "175691549390298570189295806629408456522",
                "209617491807794044398914463704967174332",
                "123373525135534208291131605098300937665"
            ],
            "threshold": 0.9
        },
        "signature_type": "Line",
        "source": "https://github.com/opencast/opencast/commit/b18c6a7f81f08ed14884592a6c14c9ab611ad450",
        "signature_version": "v1"
    },
    {
        "target": {
            "function": "addSynchronously",
            "file": "modules/search-service-impl/src/main/java/org/opencastproject/search/impl/SearchServiceImpl.java"
        },
        "id": "CVE-2021-21318-91e6a744",
        "deprecated": false,
        "digest": {
            "length": 967.0,
            "function_hash": "121084771843308822672252858113770118739"
        },
        "signature_type": "Function",
        "source": "https://github.com/opencast/opencast/commit/b18c6a7f81f08ed14884592a6c14c9ab611ad450",
        "signature_version": "v1"
    },
    {
        "target": {
            "function": "getAccessControlList",
            "file": "modules/search-service-impl/src/main/java/org/opencastproject/search/impl/persistence/SearchServiceDatabaseImpl.java"
        },
        "id": "CVE-2021-21318-c4c14023",
        "deprecated": false,
        "digest": {
            "length": 579.0,
            "function_hash": "81872039924670805162952371066753208860"
        },
        "signature_type": "Function",
        "source": "https://github.com/opencast/opencast/commit/b18c6a7f81f08ed14884592a6c14c9ab611ad450",
        "signature_version": "v1"
    },
    {
        "target": {
            "function": "deleteSynchronously",
            "file": "modules/search-service-impl/src/main/java/org/opencastproject/search/impl/SearchServiceImpl.java"
        },
        "id": "CVE-2021-21318-ce53b1d9",
        "deprecated": false,
        "digest": {
            "length": 1174.0,
            "function_hash": "42174835892996409017438574310434120735"
        },
        "signature_type": "Function",
        "source": "https://github.com/opencast/opencast/commit/b18c6a7f81f08ed14884592a6c14c9ab611ad450",
        "signature_version": "v1"
    },
    {
        "target": {
            "file": "modules/search-service-impl/src/main/java/org/opencastproject/search/impl/persistence/SearchServiceDatabase.java"
        },
        "id": "CVE-2021-21318-d2576ca7",
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "236481315898627028537060061945852369739",
                "326773098765111835368692346892414630834",
                "278535441331004693510175361137313214576",
                "37076294234417642985637438092547106853",
                "98496174589541216524912648917109982727",
                "167640507255085017882667248176247015564",
                "281638726546301873605780863058060903415",
                "333310076812395266847114742944038032073"
            ],
            "threshold": 0.9
        },
        "signature_type": "Line",
        "source": "https://github.com/opencast/opencast/commit/b18c6a7f81f08ed14884592a6c14c9ab611ad450",
        "signature_version": "v1"
    },
    {
        "target": {
            "function": "add",
            "file": "modules/search-service-impl/src/main/java/org/opencastproject/search/impl/solr/SolrIndexManager.java"
        },
        "id": "CVE-2021-21318-ff64ab66",
        "deprecated": false,
        "digest": {
            "length": 702.0,
            "function_hash": "218295808374579991985928925778884702469"
        },
        "signature_type": "Function",
        "source": "https://github.com/opencast/opencast/commit/b18c6a7f81f08ed14884592a6c14c9ab611ad450",
        "signature_version": "v1"
    }
]
source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-21318.json"