MEDIUM4.3
GHSA-v2rh-5v88-rgvh
Moodle context freezing
Quick fix
GHSA-v2rh-5v88-rgvh — moodle/moodle: upgrade to the fixed version with the command below.
composer require moodle/moodle:^3.6.3Details
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 capabilities
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-3852[ADVISORY]
- https://github.com/moodle/moodle/commit/5ee3cbc624c1c4d39adc08c2121a1738d6b5e700[WEB]
- https://github.com/moodle/moodle/commit/90c2e5e707c27cd1ef0b992cc5e55e76dcd17204[WEB]
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3852[WEB]
- https://github.com/moodle/moodle[PACKAGE]
- https://moodle.org/mod/forum/discuss.php?d=384015#p1547748[WEB]
- https://web.archive.org/web/20210624085935/http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-64410[WEB]