Vulnerability · Published Jan 25, 2022 · Assigned by fedora
CVE-2022-0332
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 32.1% (higher than 98% 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)32.1%top 1.7% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack tooling1Public PoC
Official description
A flaw was found in Moodle in versions 3.11 to 3.11.4. An SQL injection risk was identified in the h5p activity web service responsible for fetching user attempt data.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | moodle/moodle | 3.11.5 | GHSA-6jhm-4vmx-mr76 |
Affected products (as reported)
Weakness: CWE-89
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2043661 x_refsource_MISC
- https://moodle.org/mod/forum/discuss.php?d=431099 x_refsource_MISC