HIGH8.8
GHSA-h2fw-93qx-vrcq
SQL Injection in Moodle
Quick fix
GHSA-h2fw-93qx-vrcq — moodle/moodle: upgrade to the fixed version with the command below.
composer require moodle/moodle:^3.11.6Details
An SQL injection risk was identified in Badges code relating to configuring criteria. Access to the relevant capability was limited to teachers and managers by default.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/moodle/moodle
Introduced in:
3.11.0Fixed in: 3.11.6Fix
composer require moodle/moodle:^3.11.6Packagist/moodle/moodle
Introduced in:
3.10.0Fixed in: 3.10.10Fix
composer require moodle/moodle:^3.10.10References
- https://nvd.nist.gov/vuln/detail/CVE-2022-0983[ADVISORY]
- https://github.com/moodle/moodle/commit/c2794752ea3cdda2d64a0651da08b2cdf730d9f1[WEB]
- https://bugzilla.redhat.com/show_bug.cgi?id=2064119[WEB]
- https://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-74074[WEB]
- https://github.com/moodle/moodle[PACKAGE]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/G4GRMWBGHOJMFXMTORECQNULJK7ZJJ6Y[WEB]