GHSA-g9m2-c2x5-fr2v

Suggest an improvement
Source
https://github.com/advisories/GHSA-g9m2-c2x5-fr2v
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-g9m2-c2x5-fr2v/GHSA-g9m2-c2x5-fr2v.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-g9m2-c2x5-fr2v
Aliases
Published
2022-05-24T17:05:43Z
Modified
2024-02-16T08:15:46.322793Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N CVSS Calculator
Summary
Moodle does not revoke role capabilities correctly
Details

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).

Database specific
{
    "nvd_published_at": "2020-01-07T17:15:00Z",
    "cwe_ids": [
        "CWE-273"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2023-08-01T23:39:36Z"
}
References

Affected packages

Packagist / moodle/moodle

Package

Name
moodle/moodle
Purl
pkg:composer/moodle/moodle

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.7.0
Fixed
3.7.3

Affected versions

v3.*

v3.7.0
v3.7.1
v3.7.2

Packagist / moodle/moodle

Package

Name
moodle/moodle
Purl
pkg:composer/moodle/moodle

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.6.0
Fixed
3.6.7

Affected versions

v3.*

v3.6.0
v3.6.1
v3.6.2
v3.6.3
v3.6.4
v3.6.5
v3.6.6

Packagist / moodle/moodle

Package

Name
moodle/moodle
Purl
pkg:composer/moodle/moodle

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.5.0
Fixed
3.5.9

Affected versions

v3.*

v3.5.0
v3.5.1
v3.5.2
v3.5.3
v3.5.4
v3.5.5
v3.5.6
v3.5.7
v3.5.8