What’s Vulnerable › Vulnerabilities

CVE-2024-52301: Laravel allows environment manipulation via query string

Description

Laravel is a web application framework. 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. The vulnerability fixed in 6.20.45, 7.30.7, 8.83.28, 9.52.17, 10.48.23, and 11.31.0. The framework now ignores argv values for environment detection on non-cli SAPIs.

Affected products

How to fix

Upgrade to a fixed version: Laravel Framework 10.48.23, 11.31.0, 6.20.45, 7.30.7; Packagist Laravel/Framework 6.20.45, 7.30.7, 8.83.28, 9.52.17. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-52301 or the next vulnerability affects your stack