{"id":"GHSA-g9m2-c2x5-fr2v","aliases":["CVE-2019-14879"],"title":"Moodle does not revoke role capabilities correctly","description":"A vulnerability was found in Moodle versions 3.7.x before 3.7.3, 3.6.x before 3.6.7 and 3.5.x before 3.5.9. When a cohort role assignment was removed, the associated capabilities were not being revoked (where applicable).","severity":"medium","score":5.4,"published":"2022-05-24T17:05:43.000Z","modified":"2024-02-16T08:15:46.322Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"moodle/moodle","ranges":[{"events":[{"introduced":"3.7.0"},{"fixed":"3.7.3"}],"type":"ECOSYSTEM"}],"versions":["v3.7.0","v3.7.1","v3.7.2"],"fixed":["3.7.3"]},{"ecosystem":"Packagist","name":"moodle/moodle","ranges":[{"events":[{"introduced":"3.6.0"},{"fixed":"3.6.7"}],"type":"ECOSYSTEM"}],"versions":["v3.6.0","v3.6.1","v3.6.2","v3.6.3","v3.6.4","v3.6.5","v3.6.6"],"fixed":["3.6.7"]},{"ecosystem":"Packagist","name":"moodle/moodle","ranges":[{"events":[{"introduced":"3.5.0"},{"fixed":"3.5.9"}],"type":"ECOSYSTEM"}],"versions":["v3.5.0","v3.5.1","v3.5.2","v3.5.3","v3.5.4","v3.5.5","v3.5.6","v3.5.7","v3.5.8"],"fixed":["3.5.9"]}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2019-14879","https://github.com/moodle/moodle/commit/7b5f4a62c18fd5bad6956828aade23e1f15b4be3","https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14879"],"sources":[{"name":"OSV","id":"GHSA-g9m2-c2x5-fr2v","modified":"2024-02-16T08:15:46.322793Z","url":"https://osv.dev/vulnerability/GHSA-g9m2-c2x5-fr2v"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","score":5.4}]}