CVE-2024-52301
NONE0.0EPSS 65.7%Laravel environment manipulation via query string
Published: 11/12/2024Modified: 12/21/2024
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 (4)
- Bitnami/laravelfrom 0, < 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
- Debian/php-laravel-frameworkfrom 0, < 6.20.14+dfsg-2+deb11u2
- Debian/php-laravel-frameworkfrom 0, < 6.20.14+dfsg-2+deb11u2
- Packagist/laravel/frameworkfrom 0, < 6.20.45
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | 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 |
| osv | CVSS 3.1 | NONE0.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N |
References (7)
- ADVISORYhttps://github.com/advisories/GHSA-gv7v-rgg6-548h
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2024-52301
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2024-52301
- PATCHhttps://github.com/laravel/framework
- WEBhttps://github.com/FriendsOfPHP/security-advisories/blob/master/laravel/framework/CVE-2024-52301.yaml
- WEBhttps://github.com/laravel/framework/security/advisories/GHSA-gv7v-rgg6-548h
- WEBhttps://lists.debian.org/debian-lts-announce/2024/12/msg00019.html