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
| Package | Versions |
|---|---|
| Packagist · laravel/framework | introduced 0, fixed 6.20.45 |
| Packagist · laravel/framework | introduced 7.0.0, fixed 7.30.7 |
| Packagist · laravel/framework | introduced 8.0.0, fixed 8.83.28 |
| Packagist · laravel/framework | introduced 9.0.0, fixed 9.52.17 |
| Packagist · laravel/framework | introduced 10.0.0, fixed 10.48.23 |
| Packagist · laravel/framework | introduced 11.0.0, fixed 11.31.0 |
References
- https://github.com/laravel/framework/security/advisories/GHSA-gv7v-rgg6-548h WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-52301 ADVISORY
- https://github.com/FriendsOfPHP/security-advisories/blob/master/laravel/framework/CVE-2024-52301.yaml WEB
- https://github.com/advisories/GHSA-gv7v-rgg6-548h ADVISORY
- https://github.com/laravel/framework PACKAGE
- https://lists.debian.org/debian-lts-announce/2024/12/msg00019.html WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |