-
CVSS Score
-| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| moodle/moodle | composer | >= 3.7.0, < 3.7.3 | 3.7.3 |
| moodle/moodle | composer | >= 3.6.0, < 3.6.7 | 3.6.7 |
| moodle/moodle | composer | >= 3.5.0, < 3.5.9 | 3.5.9 |
The commit diff shows critical changes in sync_all_cohort_roles() where legacy role assignment cleanup logic was added. This indicates the original implementation lacked proper revocation mechanisms when cohort role assignments were removed. The CWE-273 (Improper Check for Dropped Privileges) maps directly to this missing cleanup logic in the synchronization function.
A Semantic Attack on Google Gemini - Read the Latest Research