Affected versions
Version ranges need review.
Composerlaravel/framework
- Affected versions
- >= 9.0.0, < 9.52.17
- Fixed version
- 9.52.17
Composerlaravel/framework
- Affected versions
- <6.20.45|>=7.0.0,<7.30.7|>=8.0.0,<8.83.28|>=9.0.0,<9.52.17|>=10.0.0,<10.48.23|>=11.0.0,<11.31.0
- Fixed version
- Not reported
Composerlaravel/framework
- Affected versions
- < 6.20.45
- Fixed version
- 6.20.45
Composerlaravel/framework
- Affected versions
- >= 10.0.0, < 10.48.23
- Fixed version
- 10.48.23
Composerlaravel/framework
- Affected versions
- >= 7.0.0, < 7.30.7
- Fixed version
- 7.30.7
Composerlaravel/framework
- Affected versions
- >= 11.0.0, < 11.31.0
- Fixed version
- 11.31.0
Composerlaravel/framework
- Affected versions
- >= 8.0.0, < 8.83.28
- Fixed version
- 8.83.28
Exploitation
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.
Links
- https://github.com/FriendsOfPHP/security-advisories/blob/master/laravel/framework/CVE-2024-52301.yaml
- https://github.com/advisories/GHSA-gv7v-rgg6-548h
- https://github.com/laravel/framework/security/advisories/GHSA-gv7v-rgg6-548h
- https://lists.debian.org/debian-lts-announce/2024/12/msg00019.html
- https://nvd.nist.gov/vuln/detail/CVE-2024-52301

