VDB
Sign up
HIGH7.5

GHSA-p2cj-86v4-7782

Moodle HTTP authorization header is preserved between "emulated redirects"

Quick fix

GHSA-p2cj-86v4-7782 — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^4.4.1

Details

The cURL wrapper in Moodle retained the original request headers when following redirects, so HTTP authorization header information could be unintentionally sent in requests to redirect URLs.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 4.4.0-betaFixed in: 4.4.1
Fixcomposer require moodle/moodle:^4.4.1
Packagist/moodle/moodle
Introduced in: 4.3.0-betaFixed in: 4.3.5
Fixcomposer require moodle/moodle:^4.3.5
Packagist/moodle/moodle
Introduced in: 4.2.0-betaFixed in: 4.2.8
Fixcomposer require moodle/moodle:^4.2.8
Packagist/moodle/moodle
Introduced in: 0Fixed in: 4.1.11
Fixcomposer require moodle/moodle:^4.1.11

References