{"id":"GHSA-8jhp-2gcr-qw96","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.","aliases":["BIT-moodle-2021-3943","CVE-2021-3943"],"modified":"2024-02-16T08:24:54.773262Z","published":"2021-11-23T00:00:51Z","database_specific":{"github_reviewed_at":"2023-07-11T18:17:30Z","nvd_published_at":"2021-11-22T16:15:00Z","cwe_ids":["CWE-20"],"severity":"CRITICAL","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3943"},{"type":"WEB","url":"https://github.com/moodle/moodle/commit/58e8ad852f9e75c8158e5bee02c273383f7d9865"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2021963"},{"type":"WEB","url":"https://moodle.org/mod/forum/discuss.php?d=429095"}],"affected":[{"package":{"name":"moodle/moodle","ecosystem":"Packagist","purl":"pkg:composer/moodle/moodle"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.11"},{"fixed":"3.11.4"}]}],"versions":["v3.11.0","v3.11.0-beta","v3.11.0-rc1","v3.11.0-rc2","v3.11.1","v3.11.2","v3.11.3"],"database_specific":{"last_known_affected_version_range":"\u003c= 3.11.3","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/11/GHSA-8jhp-2gcr-qw96/GHSA-8jhp-2gcr-qw96.json"}},{"package":{"name":"moodle/moodle","ecosystem":"Packagist","purl":"pkg:composer/moodle/moodle"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.10"},{"fixed":"3.10.8"}]}],"versions":["v3.10.0","v3.10.0-beta","v3.10.0-rc1","v3.10.0-rc2","v3.10.1","v3.10.2","v3.10.3","v3.10.4","v3.10.5","v3.10.6","v3.10.7"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/11/GHSA-8jhp-2gcr-qw96/GHSA-8jhp-2gcr-qw96.json","last_known_affected_version_range":"\u003c= 3.10.7"}},{"package":{"name":"moodle/moodle","ecosystem":"Packagist","purl":"pkg:composer/moodle/moodle"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.9"},{"fixed":"3.9.11"}]}],"versions":["v3.9.0","v3.9.0-beta","v3.9.0-rc1","v3.9.0-rc2","v3.9.0-rc3","v3.9.1","v3.9.10","v3.9.2","v3.9.3","v3.9.4","v3.9.5","v3.9.6","v3.9.7","v3.9.8","v3.9.9"],"database_specific":{"last_known_affected_version_range":"\u003c= 3.9.10","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/11/GHSA-8jhp-2gcr-qw96/GHSA-8jhp-2gcr-qw96.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}