Description
lib/filelib.php in Moodle through 2.2.11, 2.3.x before 2.3.10, 2.4.x before 2.4.7, and 2.5.x before 2.5.3 does not send "Cache-Control: private" HTTP headers, which allows remote attackers to obtain sensitive information by requesting a file that had been previously retrieved by a caching proxy server.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | moodle/moodle | < 2.3.10 | 2.3.10 | GHSA-vm9c-39jx-q45w |
| Packagist | moodle/moodle | >= 2.4.0-beta, < 2.4.7 | 2.4.7 | GHSA-vm9c-39jx-q45w |
| Packagist | moodle/moodle | >= 2.5.0-beta, < 2.5.3 | 2.5.3 | GHSA-vm9c-39jx-q45w |