A vulnerability was found in moodle before version 3.6.3. The get_with_capability_join and get_users_by_capability functions were not taking context freezing into account when checking user capabilitiesReferenceshttps://moodle.org/mod/forum/discuss.php?d=384015#p1547748https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3852