Vulnerability · Published Jan 21, 2022 · Assigned by redhat

CVE-2021-40694

Medium 4.9

In plain English

A medium-severity security flaw in moodle. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 60% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)4.9Medium
Exploit odds (30 days)0.9%top 40.1% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

Insufficient escaping of the LaTeX preamble made it possible for site administrators to read files available to the HTTP server system account.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Packagistmoodle/moodle3.9.10GHSA-m37g-mwcg-7j7v
Packagistmoodle/moodle3.10.7GHSA-m37g-mwcg-7j7v
Packagistmoodle/moodle3.11.3GHSA-m37g-mwcg-7j7v

Affected products (as reported)

VendorProductVersions
n/a moodle 3.11 to 3.11.2, 3.10 to 3.10.6, 3.9 to 3.9.9 and earlier unsupported versions

References