{"id":"GHSA-6q9g-3vfq-q2qj","aliases":["BIT-moodle-2022-0985","CVE-2022-0985"],"title":"Improper Authentication in moodle","description":"Insufficient capability checks could allow users with the moodle/site:uploadusers capability to delete users, without having the necessary moodle/user:delete capability.","severity":"medium","score":4.3,"published":"2022-04-30T00:00:36.000Z","modified":"2024-02-16T08:19:58.537Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"moodle/moodle","ranges":[{"events":[{"introduced":"3.11.0"},{"fixed":"3.11.6"}],"type":"ECOSYSTEM"}],"versions":["v3.11.0","v3.11.1","v3.11.2","v3.11.3","v3.11.4","v3.11.5"],"fixed":["3.11.6"]},{"ecosystem":"Packagist","name":"moodle/moodle","ranges":[{"events":[{"introduced":"3.10.0"},{"fixed":"3.10.10"}],"type":"ECOSYSTEM"}],"versions":["v3.10.0","v3.10.1","v3.10.2","v3.10.3","v3.10.4","v3.10.5","v3.10.6","v3.10.7","v3.10.8","v3.10.9"],"fixed":["3.10.10"]},{"ecosystem":"Packagist","name":"moodle/moodle","ranges":[{"events":[{"introduced":"3.9"},{"fixed":"3.9.13"}],"type":"ECOSYSTEM"}],"versions":["v3.9.0","v3.9.0-beta","v3.9.0-rc1","v3.9.0-rc2","v3.9.0-rc3","v3.9.1","v3.9.10","v3.9.11","v3.9.12","v3.9.2","v3.9.3","v3.9.4","v3.9.5","v3.9.6","v3.9.7","v3.9.8","v3.9.9"],"fixed":["3.9.13"]}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2022-0985","https://github.com/moodle/moodle/commit/addd4f894d8173ec8ff0ae2212d51a1977e7bcad","https://bugzilla.redhat.com/show_bug.cgi?id=2064117","https://github.com/moodle/moodle"],"sources":[{"name":"OSV","id":"GHSA-6q9g-3vfq-q2qj","modified":"2024-02-16T08:19:58.537953Z","url":"https://osv.dev/vulnerability/GHSA-6q9g-3vfq-q2qj"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","score":4.3}]}