VDB
Sign up
HIGH8.6

GHSA-4hmr-39vp-xfrr

Moodle has an arbitrary file read risk through pdfTeX

Quick fix

GHSA-4hmr-39vp-xfrr — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^4.5.2

Details

Insufficient sanitizing in the TeX notation filter resulted in an arbitrary file read risk on sites where pdfTeX is available (such as those with TeX Live installed).

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 4.5.0-betaFixed in: 4.5.2
Fixcomposer require moodle/moodle:^4.5.2
Packagist/moodle/moodle
Introduced in: 4.4.0-betaFixed in: 4.4.6
Fixcomposer require moodle/moodle:^4.4.6
Packagist/moodle/moodle
Introduced in: 4.3.0-betaFixed in: 4.3.10
Fixcomposer require moodle/moodle:^4.3.10
Packagist/moodle/moodle
Introduced in: 0Fixed in: 4.1.16
Fixcomposer require moodle/moodle:^4.1.16

References