MEDIUM4.3
GHSA-2m72-m5cw-3g9h
Missing permission check in Moodle
Quick fix
GHSA-2m72-m5cw-3g9h — moodle/moodle: upgrade to the fixed version with the command below.
composer require moodle/moodle:^3.10.2Details
The web service responsible for fetching other users' enrolled courses did not validate that the requesting user had permission to view that information in each course in moodle before 3.10.2, 3.9.5, 3.8.8, 3.5.17.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/moodle/moodle
Introduced in:
3.10.0Fixed in: 3.10.2Fix
composer require moodle/moodle:^3.10.2References
- https://nvd.nist.gov/vuln/detail/CVE-2021-20283[ADVISORY]
- https://bugzilla.redhat.com/show_bug.cgi?id=1939051[WEB]
- https://github.com/moodle/moodle[PACKAGE]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AFSNJ7XHVTC52RSRX2GBQFF3VEEAY2MS[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UFH5DDMU5TZ3JT4Q52WMRAHACA5MHIMT[WEB]
- https://moodle.org/mod/forum/discuss.php?d=419654[WEB]