GHSA-gv7v-rgg6-548h

Laravel environment manipulation via query string

At a glance

Published
Updated
CVE
CVE-2024-52301
Aliases
BIT-laravel-2024-52301
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
CVSS_V4
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

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.

Affected packages

PackageVersions
Packagist · laravel/frameworkintroduced 0, fixed 6.20.45
Packagist · laravel/frameworkintroduced 7.0.0, fixed 7.30.7
Packagist · laravel/frameworkintroduced 8.0.0, fixed 8.83.28
Packagist · laravel/frameworkintroduced 9.0.0, fixed 9.52.17
Packagist · laravel/frameworkintroduced 10.0.0, fixed 10.48.23
Packagist · laravel/frameworkintroduced 11.0.0, fixed 11.31.0

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database