{"id":"CVE-2021-3943","aliases":["BIT-moodle-2021-3943","GHSA-8jhp-2gcr-qw96"],"url":"https://o3.security/vulnerability/CVE-2021-3943","summary":"Moodle vulnerable to RCE via unsafe deserialization","details":"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.","published":"2021-11-22T16:15:07.497Z","modified":"2026-07-09T00:36:31.183099Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"moodle/moodle","fixedVersion":"3.11.4"},{"ecosystem":"Packagist","name":"moodle/moodle","fixedVersion":"3.10.8"},{"ecosystem":"Packagist","name":"moodle/moodle","fixedVersion":"3.9.11"}],"fix":{"url":"https://github.com/moodle/moodle/commit/58e8ad852f9e75c8158e5bee02c273383f7d9865","label":"moodle/moodle@58e8ad8"},"references":[{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2021963"},{"type":"FIX","url":"https://moodle.org/mod/forum/discuss.php?d=429095"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3943"},{"type":"WEB","url":"https://github.com/moodle/moodle/commit/58e8ad852f9e75c8158e5bee02c273383f7d9865"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-09T00:36:31.183099Z"}}