CVE-2021-3943
9.8critical
Moodle vulnerable to RCE via unsafe deserialization
- Severity
- 9.8critical CVSS:3.1 by NVD
- Exploit likelihood
- 2.40% (higher than 84% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- fedora
- Also known as
- GHSA-8jhp-2gcr-qw96BIT-MOODLE-2021-3943
Description
A flaw was found in Moodle in versions 3.11 to 3.11.3, 3.10 to 3.10.7, 3.9 to 3.9.10 and earlier unsupported versions. A remote code execution risk when restoring backup files was identified.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| moodle | moodle 3.11.4, moodle 3.10.8 and moodle 3.9.11 | CVE List |
| moodle/moodle (Packagist) | from 3.11 before 3.11.4, from 3.10 before 3.10.8, from 3.9 before 3.9.11 | GitHub Advisory Database |
| moodle moodle | from 3.9.0 up to 3.9.10, from 3.10.0 up to 3.10.7, from 3.11.0 up to 3.11.3 | NVD |
| moodle (Bitnami) | from 3.9.0 before 3.9.11, from 3.10.0 before 3.10.8, from 3.11.0 before 3.11.4 | Bitnami Vulnerability Database |
All scores
| GitHub | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.5high CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| Bitnami Vulnerability Database | critical rating |
Classification
What each source says
CVE List
A flaw was found in Moodle in versions 3.11 to 3.11.3, 3.10 to 3.10.7, 3.9 to 3.9.10 and earlier unsupported versions. A remote code execution risk when restoring backup files was identified.
NVD (es)
Se ha encontrado un fallo en Moodle en versiones 3.11 a 3.11.3, 3.10 a 3.10.7, 3.9 a 3.9.10 y versiones anteriores no soportadas. Se ha identificado un riesgo de ejecución de código remota cuando se restauran archivos de copia de seguridad
References
| https://bugzilla.redhat.com/show_bug.cgi?id=2021963 | advisory, issue-tracking, third-party-advisory, web | |
| https://moodle.org/mod/forum/discuss.php?d=429095 | advisory, patch, vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-3943 | advisory, web | |
| https://github.com/moodle/moodle/commit/58e8ad852f9e75c8158e5bee02c273383f7d9865 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-3943 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-8jhp-2gcr-qw96 changed 2024-02-16 | CC-BY-4.0 |
| NVD | CVE-2021-3943 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-MOODLE-2021-3943 changed 2026-09-08 | Apache-2.0 |