CVE-2021-40694
4.9medium
Moodle Improper Encoding or Escaping of Output
- Severity
- 4.9medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.93% (higher than 61% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
- Also known as
- GHSA-m37g-mwcg-7j7vBIT-MOODLE-2021-40694
Description
Insufficient escaping of the LaTeX preamble made it possible for site administrators to read files available to the HTTP server system account.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| moodle | 3.11 to 3.11.2, 3.10 to 3.10.6, 3.9 to 3.9.9 and earlier unsupported versions | CVE List |
| moodle/moodle (Packagist) | from 3.9 before 3.9.10, from 3.10 before 3.10.7, from 3.11 before 3.11.3 | GitHub Advisory Database |
| moodle moodle | before 3.9.10, from 3.10.0 before 3.10.7, from 3.11.0 before 3.11.3 | NVD |
| moodle (Bitnami) | before 3.9.10, from 3.10.0 before 3.10.7, from 3.11.0 before 3.11.3 | Bitnami Vulnerability Database |
All scores
| GitHub | 4.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |
| NVD | 4.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
What each source says
CVE List
Insufficient escaping of the LaTeX preamble made it possible for site administrators to read files available to the HTTP server system account.
NVD (es)
Un escape insuficiente del preámbulo de LaTeX hacía posible que los administradores del sitio leyeran archivos disponibles para la cuenta del sistema del servidor HTTP
References
| https://bugzilla.redhat.com/show_bug.cgi?id=2043421 | advisory, issue-tracking, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-40694 | advisory, web | |
| https://github.com/moodle/moodle | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-40694 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-m37g-mwcg-7j7v changed 2024-04-23 | CC-BY-4.0 |
| NVD | CVE-2021-40694 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-MOODLE-2021-40694 changed 2026-09-08 | Apache-2.0 |