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

EcosystemPackageFixed inAdvisory
Packagistmoodle/moodle3.11.1GHSA-f46j-r7q3-6cm2
Packagistmoodle/moodle3.10.5GHSA-f46j-r7q3-6cm2
Packagistmoodle/moodle3.9.8GHSA-f46j-r7q3-6cm2

Affected products (as reported)

VendorProductVersions
n/a Moodle 3.11, 3.10 to 3.10.4, 3.9 to 3.9.7 and earlier unsupported versions

Weakness: CWE-89

References