Skip to content

Moodle does not revoke role capabilities correctly

Moderate severity GitHub Reviewed Published May 24, 2022 to the GitHub Advisory Database • Updated Aug 1, 2023

Package

composer moodle/moodle (Composer)

Affected versions

>= 3.7.0, < 3.7.3
>= 3.6.0, < 3.6.7
>= 3.5.0, < 3.5.9

Patched versions

3.7.3
3.6.7
3.5.9

Description

A vulnerability was found in Moodle versions 3.7.x before 3.7.3, 3.6.x before 3.6.7 and 3.5.x before 3.5.9. When a cohort role assignment was removed, the associated capabilities were not being revoked (where applicable).

References

Published by the National Vulnerability Database Jan 7, 2020
Published to the GitHub Advisory Database May 24, 2022
Reviewed Aug 1, 2023
Last updated Aug 1, 2023

Severity

Moderate
5.4
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

Weaknesses

CVE ID

CVE-2019-14879

GHSA ID

GHSA-g9m2-c2x5-fr2v

Source code

No known source code
Checking history
See something to contribute? Suggest improvements for this vulnerability.