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

CVE-2022-0334: Exposure of Resource to Wrong Sphere

January 25, 2022 (updated December 21, 2022)

Insufficient capability checks could lead to users accessing their grade report for courses where they does not have the required gradereport/user:view capability.

References

  • bugzilla.redhat.com/show_bug.cgi?id=2043664
  • moodle.org/mod/forum/discuss.php?d=431102
  • nvd.nist.gov/vuln/detail/CVE-2022-0334

Code Behaviors & Features

Detect and mitigate CVE-2022-0334 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 up to 3.8.9, all versions starting from 3.9.0 up to 3.9.11, all versions starting from 3.10.0 before 3.10.9, all versions starting from 3.11.0 before 3.11.5

Fixed versions

  • 3.9.12
  • 3.10.9
  • 3.11.5

Solution

Upgrade to versions 3.9.12, 3.10.9, 3.11.5 or above.

Impact 4.3 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-668: Exposure of Resource to Wrong Sphere

Source file

packagist/moodle/moodle/CVE-2022-0334.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:14:38 +0000.