high8.7
CVE-2024-52301
Laravel environment manipulation via query string
Impact
## 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
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| composer | laravel/framework | < 6.20.45 | 6.20.45 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Laravel | Framework | before 6.20.45 from 7.0.0 before 7.30.7 from 8.0.0 before 8.83.28 from 9.0.0 before 9.52.17 from 10.0.0 before 10.48.23 from 11.0.0 before 11.31.0 |
| Debian | Debian Linux | Version 11.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/laravel/framework/security/advisories/GHSA-gv7v-rgg6-548h
- https://lists.debian.org/debian-lts-announce/2024/12/msg00019.html
- https://github.com/advisories/GHSA-gv7v-rgg6-548h
- https://nvd.nist.gov/vuln/detail/CVE-2024-52301
- https://github.com/FriendsOfPHP/security-advisories/blob/master/laravel/framework/CVE-2024-52301.yaml