MEDIUM6.5
GHSA-j822-x5gg-5r56
Moodle allows users to retrieve information they did not have permission to access
Quick fix
GHSA-j822-x5gg-5r56 — moodle/moodle: upgrade to the fixed version with the command below.
composer require moodle/moodle:^4.1.13Details
A flaw was found in Moodle. Dynamic tables did not enforce capability checks, which resulted in users having the ability to retrieve information they did not have permission to access.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/moodle/moodle
Introduced in:
4.2.0-betaFixed in: 4.2.10Fix
composer require moodle/moodle:^4.2.10Packagist/moodle/moodle
Introduced in:
4.3.0-betaFixed in: 4.3.7Fix
composer require moodle/moodle:^4.3.7Packagist/moodle/moodle
Introduced in:
4.4.0-betaFixed in: 4.4.3Fix
composer require moodle/moodle:^4.4.3References
- https://nvd.nist.gov/vuln/detail/CVE-2024-45689[ADVISORY]
- https://github.com/moodle/moodle/commit/bb466df202a4b4a692006298f93cbba20566949c[WEB]
- https://bugzilla.redhat.com/show_bug.cgi?id=2309941[WEB]
- https://github.com/moodle/moodle[PACKAGE]
- https://moodle.org/mod/forum/discuss.php?d=461894#p1854491[WEB]