Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. moodle/moodle
  4. ›
  5. CVE-2019-3852

CVE-2019-3852: Moodle context freezing

May 13, 2022 (updated May 23, 2025)

A vulnerability was found in moodle before version 3.6.3. The get_with_capability_join and get_users_by_capability functions were not taking context freezing into account when checking user capabilities

References

  • bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3852
  • github.com/advisories/GHSA-v2rh-5v88-rgvh
  • github.com/moodle/moodle
  • github.com/moodle/moodle/commit/5ee3cbc624c1c4d39adc08c2121a1738d6b5e700
  • github.com/moodle/moodle/commit/90c2e5e707c27cd1ef0b992cc5e55e76dcd17204
  • moodle.org/mod/forum/discuss.php?d=384015
  • nvd.nist.gov/vuln/detail/CVE-2019-3852
  • web.archive.org/web/20210624085935/http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-64410

Code Behaviors & Features

Detect and mitigate CVE-2019-3852 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 3.6 before 3.6.3

Fixed versions

  • 3.6.3

Solution

Upgrade to version 3.6.3 or above.

Impact 4.3 MEDIUM

CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

Learn more about CVSS

Source file

packagist/moodle/moodle/CVE-2019-3852.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Thu, 08 Jan 2026 12:20:01 +0000.