Vulnerability · Published Mar 6, 2023 · Assigned by fedora
CVE-2021-36393
Critical 9.8
In plain English
A critical-severity SQL injection in Moodle. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 52.3% (higher than 99% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)9.8Critical
Exploit odds (30 days)52.3%top 1.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Public PoC
Official description
In Moodle, an SQL injection risk was identified in the library fetching a user's recent courses.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | moodle/moodle | 3.11.1 | GHSA-f46j-r7q3-6cm2 |
| Packagist | moodle/moodle | 3.10.5 | GHSA-f46j-r7q3-6cm2 |
| Packagist | moodle/moodle | 3.9.8 | GHSA-f46j-r7q3-6cm2 |
Affected products (as reported)
Weakness: CWE-89