GitHub Advisory Database
GHSA-vj5p-fp42-774p
Moodle may display roles to users who don't have access to them
Details
The course participation report required additional checks to prevent roles being displayed which the user did not have access to view.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | moodle/moodle | From 4.1.0 before 4.1.2 (fixed in 4.1.2) |
| Packagist | moodle/moodle | From 4.0.0 before 4.0.7 (fixed in 4.0.7) |
| Packagist | moodle/moodle | From 3.11.0 before 3.11.13 (fixed in 3.11.13) |
| Packagist | moodle/moodle | All versions before 3.9.20 (fixed in 3.9.20) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-1402
- https://github.com/moodle/moodle/commit/f0a557bffbdb450648d0e4cedb391d14d8a0a253
- https://bugzilla.redhat.com/show_bug.cgi?id=2179427
- https://git.moodle.org/gw?p=moodle.git;a=commitdiff;h=f0a557bffbdb450648d0e4cedb391d14d8a0a253
- https://github.com/moodle/moodle
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3QZN34VSF4HTCW3C3ZP2OZYSLYUKADPF
- https://lists.fedoraproject.org/archives/list/[email protected]/message/3QZN34VSF4HTCW3C3ZP2OZYSLYUKADPF
- https://moodle.org/mod/forum/discuss.php?d=445069