Skip to content

Environment manipulation via query string

High
taylorotwell published GHSA-gv7v-rgg6-548h Nov 12, 2024

Package

composer laravel/framework (Composer)

Affected versions

<6.20.45,>=7,<7.30.7,>=8,<8.83.28,>=9,<9.52.17,>=10,<10.48.23,>=11,<11.31.0

Patched versions

6.20.45,7.30.7,8.83.28,9.52.17,10.48.23,11.31.0

Description

Description

When the register_argc_argv php directive is set to on , and users call any URL with a special crafted query string, they are able to change the environment used by the framework when handling the request.

Resolution

The framework now ignores argv values for environment detection on non-cli SAPIs.

Severity

High

CVE ID

CVE-2024-52301

Weaknesses

No CWEs