Skip to content
OpenAdvisories
Medium · 4.9 CVE-2021-40694 BIT-moodle-2021-40694EUVD-2022-6866GHSA-m37g-mwcg-7j7v

Moodle Improper Encoding or Escaping of Output

Published Jan 21, 2022 · Updated Aug 4, 2024 · Assigned by redhat

Description

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

Affected products

VendorProductAffectedFixed
— moodle 3.11 to 3.11.2, 3.10 to 3.10.6, 3.9 to 3.9.9 and earlier unsupported versions —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS moodle No fix yet —
Ubuntu Pro 16.04 LTS moodle No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist moodle/moodle >= 3.9, < 3.9.10 3.9.10 GHSA-m37g-mwcg-7j7v
Packagist moodle/moodle >= 3.10, < 3.10.7 3.10.7 GHSA-m37g-mwcg-7j7v
Packagist moodle/moodle >= 3.11, < 3.11.3 3.11.3 GHSA-m37g-mwcg-7j7v

References