Description
lib/setuplib.php in Moodle through 2.1.10, 2.2.x before 2.2.8, 2.3.x before 2.3.5, and 2.4.x before 2.4.2 allows remote attackers to obtain sensitive information via an invalid request, which reveals the absolute path in an exception message.
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.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | moodle | No fix yet | — |
| Ubuntu Pro 16.04 LTS | moodle | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | moodle/moodle | <= 2.1.10 | — | GHSA-xr24-jp5c-6c4v |
| Packagist | moodle/moodle | >= 2.2.0, < 2.2.8 | 2.2.8 | GHSA-xr24-jp5c-6c4v |
| Packagist | moodle/moodle | >= 2.3.0, < 2.3.5 | 2.3.5 | GHSA-xr24-jp5c-6c4v |
| Packagist | moodle/moodle | >= 2.4.0, < 2.4.2 | 2.4.2 | GHSA-xr24-jp5c-6c4v |